TX Text Control .NET Server

TextComparisonFlags Enumeration

Enumeration|Introduced in 28.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.Core.dll
Install
dotnet add package TXTextControl.TextControl.Core.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.dll from the setup.
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll

Description

Determines how the specified comparison value has to be interpreted when comparing it with the TextFormField's or SelectionFormField's Text property. The enumeration contains the following values:

Syntax

public enum Condition.TextComparisonFlags

Members

MemberValueDescription
CustomText0The comparison value has to be interpreted as custom text.
Regex1The comparison value has to be interpreted as a regular expression.

Examples

The following example selects the Custom Text value from the Text Comparison Flags enumeration and uses it as a documented workflow choice.

Condition.TextComparisonFlags value = Condition.TextComparisonFlags.CustomText;
Console.WriteLine($"Using Text Comparison Flags: {value}");