TX Text Control .NET for WPF

Operator Property

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

Description

Gets and sets the operator of the field.

Syntax

public IfField.RelationalOperator Operator { get; set; }

Members

ValueDescription
EqualsThe expression values must be equal.
NotEqualThe expression values must be not equal.
LessThanExpression 1 is less than expression 2.
GreaterThanExpression 1 is greater than expression 2.
GreaterThanOrEqualToExpression 1 is greater than or equal to expression 2.
LessThanOrEqualToExpression 1 is less than or equal to expression 2.

Examples

The following example uses IfField.Operator to configure operator as part of the if field workflow. The configured value is checked before the workflow continues.

ifField.Operator = TXTextControl.DocumentServer.Fields.IfField.RelationalOperator.Equals;
Console.WriteLine($"Operator used by If Field: {ifField.Operator}");