# Condition.ItemComparisonFlags Enumeration

> 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:

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Enumeration
- **Introduced:** 28.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl > Condition.ItemComparisonFlags Enumeration
- **499 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/condition/itemcomparisonflags-enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/condition/itemcomparisonflags-enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/condition/itemcomparisonflags-enumeration/llms-full.txt

---

### Description

Determines how the specified comparison value has to be interpreted when comparing it with the [SelectionFormField](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/selectionformfield/llms-full.txt)'s [Text](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textfield/text-property/llms-full.txt) property. The enumeration contains the following values:

### Syntax

```csharp
public enum Condition.ItemComparisonFlags
```

```vbnet
Public Enum Condition.ItemComparisonFlags
```

### Members

| Member | Value | Description |
|---|---|---|
| SpecificItem | 0 | The comparison value represents an item of the `SelectionFormField.Items` array. |
| AnyItem | 1 | The 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.

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

```vbnet
Dim value As Condition.ItemComparisonFlags = Condition.ItemComparisonFlags.SpecificItem
Console.WriteLine($"Using Item Comparison Flags: {value}")
```

---

## Nearby

- **Previous:** [Condition.FormField Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/condition/formfield-property/llms-full.txt)
- **Next:** [Condition.LogicalConnective Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/condition/logicalconnective-property/llms-full.txt)
