# Condition.ComparisonOperators Enumeration

> Determines the comparison operator that is used to compare the condition's form field value with the specified comparison value or the interpretation of that value. 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.ComparisonOperators Enumeration
- **906 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/condition/comparisonoperators-enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/condition/comparisonoperators-enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/condition/comparisonoperators-enumeration/llms-full.txt

---

### Description

Determines the comparison operator that is used to compare the condition's [form field](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/condition/formfield-property/llms-full.txt) value with the specified comparison value or the interpretation of that value. The enumeration contains the following values:

### Syntax

```csharp
public enum Condition.ComparisonOperators
```

```vbnet
Public Enum Condition.ComparisonOperators
```

### Members

| Member | Value | Description |
|---|---|---|
| Is | 1 | Form field value `equals to` the specified comparison value or the interpretation of that value. |
| IsNot | 2 | Form field value `does not equal to` the specified comparison value or the interpretation of that value. |
| Contains | 3 | Form field value `contains` the specified comparison value. |
| StartsWith | 4 | Form field value `starts with` the specified comparison value. |
| EndsWith | 5 | Form field value `ends with` the specified comparison value. |
| DoesNotContain | 6 | Form field value `does not contain` the specified comparison value. |
| DoesNotStartWith | 7 | Form field value `does not start with` the specified comparison value. |
| DoesNotEndWith | 8 | Form field value `does not end with` the specified comparison value. |
| IsGreaterThan | 9 | Form field value `is greater than` the specified comparison value. |
| IsGreaterThanOrEqual | 10 | Form field value `is greater than or equals to` the specified comparison value. |
| IsLessThan | 11 | Form field value `is less than` the specified comparison value. |
| IsLessThanOrEqual | 12 | Form field value `is less than or equals to` the specified comparison value. |

### Examples

The following example selects the Is value from the Comparison Operators enumeration and uses it as a documented workflow choice.

```csharp
Condition.ComparisonOperators value = Condition.ComparisonOperators.Is;
Console.WriteLine($"Using Comparison Operators: {value}");
```

```vbnet
Dim value As Condition.ComparisonOperators = Condition.ComparisonOperators.Is
Console.WriteLine($"Using Comparison Operators: {value}")
```

---

## Nearby

- **Previous:** [Condition.ComparisonOperator Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/condition/comparisonoperator-property/llms-full.txt)
- **Next:** [Condition.ComparisonValue Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/condition/comparisonvalue-property/llms-full.txt)
