# ThesaurusDialog.DialogItem Enumeration

> Each DialogItem represents an item in a WPF.ThesaurusDialog dialog box. The corresponding string of a DialogItem is the same as the item's Name property. The string can be used with the FrameworkElement.FindName method to get the item and manipulate, move or delete it.

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

---

### Description

Each DialogItem represents an item in a [WPF.ThesaurusDialog](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/thesaurusdialog/llms-full.txt) dialog box. The corresponding string of a DialogItem is the same as the item's Name property. The string can be used with the `FrameworkElement.FindName` method to get the item and manipulate, move or delete 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
TXTextControl.WPF.ThesaurusDialog.DialogItem value = TXTextControl.WPF.ThesaurusDialog.DialogItem.TXITEM_FindSynonymsLabel;
Console.WriteLine($"Using Dialog Item: {value}");
```

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

---

## Nearby

- **Previous:** [ThesaurusDialog Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/thesaurusdialog/constructor/llms-full.txt)
- **Next:** [TrackedChangesDialog Class](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/trackedchangesdialog/llms-full.txt)
