# ThesaurusDialog.DialogItem Enumeration

> Each DialogItem represents an item in a ThesaurusDialog dialog box. The corresponding string of a DialogItem is the same as the item's Name property. The DialogItem enumeration can be used with the ThesaurusDialog.FindItem method to get the item and manipulate it.

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

---

### Description

Each DialogItem represents an item in a [ThesaurusDialog](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/thesaurusdialog/llms-full.txt) dialog box. The corresponding string of a DialogItem is the same as the item's Name property. The DialogItem enumeration can be used with the [ThesaurusDialog.FindItem](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/thesaurusdialog/finditem-method/llms-full.txt) method to get the item and manipulate it.

### Syntax

```csharp
public enum ThesaurusDialog.DialogItem
```

```vbnet
Public Enum ThesaurusDialog.DialogItem
```

### Members

| Member | Value | Description |
|---|---|---|
| TXITEM\_FindSynonymsLabel | 0 | Identifies the Find Synonyms label. |
| TXITEM\_LanguageLabel | 1 | Identifies the Language label. |
| TXITEM\_BackButton | 2 | Identifies the Back button. |
| TXITEM\_FindSynonymsTextBox | 3 | Identifies the Find Synonyms text box. |
| TXITEM\_LanguageComboBox | 4 | Identifies the Language combo box. |
| TXITEM\_SynonymsLabel | 5 | Identifies the Synonyms label. |
| TXITEM\_SynonymsTree | 6 | Identifies the Synonyms tree view. |
| TXITEM\_Replace | 7 | Identifies the Replace button. |
| TXITEM\_Cancel | 8 | Identifies the Cancel button. |

### Examples

The following example selects the TXITEM\_Find Synonyms Label value from the Dialog Item enumeration and uses it as a documented workflow choice.

```csharp
ThesaurusDialog.DialogItem value = ThesaurusDialog.DialogItem.TXITEM_FindSynonymsLabel;
Console.WriteLine($"Using Dialog Item: {value}");
```

```vbnet
Dim value As ThesaurusDialog.DialogItem = ThesaurusDialog.DialogItem.TXITEM_FindSynonymsLabel
Console.WriteLine($"Using Dialog Item: {value}")
```

---

## Nearby

- **Previous:** [ThesaurusDialog Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/thesaurusdialog/constructor/llms-full.txt)
- **Next:** [ThesaurusDialog.FindItem Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/thesaurusdialog/finditem-method/llms-full.txt)
