TX Text Control .NET for WPF

ItemComparisonFlags Enumeration

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

Description

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

Syntax

public enum Condition.ItemComparisonFlags

Members

MemberValueDescription
SpecificItem0The comparison value represents an item of the SelectionFormField.Items array.
AnyItem1The condition checks whether or not the SelectionFormField's Text property value equals to one of its items.

Examples

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

Condition.ItemComparisonFlags value = Condition.ItemComparisonFlags.SpecificItem;
Console.WriteLine($"Using Item Comparison Flags: {value}");