TX Text Control .NET for Windows Forms

Expression2 Property

Property|Introduced in 20.0
Namespace
TXTextControl.DocumentServer.Fields
Package
TXTextControl.TextControl.WinForms.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets and sets the second expression text that should be compared to Expression1.

Syntax

public string Expression2 { get; set; }

Examples

The following example uses NextIfField.Expression2 to configure expression2 as part of the next if field workflow. The configured value is checked before the workflow continues.

nextIfField.Expression2 = "Quarterly report";
if (!string.IsNullOrWhiteSpace(nextIfField.Expression2))
{
    Console.WriteLine($"Expression2: {nextIfField.Expression2}");
}