DialogItem Enumeration
- Namespace
TXTextControl
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXTextControl.Windows. Forms. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXTextControl.from the setup.Windows. Forms. dll
Description
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.
Syntax
public enum ThesaurusDialog.DialogItemPublic Enum ThesaurusDialog.DialogItemMembers
| 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.
ThesaurusDialog.DialogItem value = ThesaurusDialog.DialogItem.TXITEM_FindSynonymsLabel;
Console.WriteLine($"Using Dialog Item: {value}");Dim value As ThesaurusDialog.DialogItem = ThesaurusDialog.DialogItem.TXITEM_FindSynonymsLabel
Console.WriteLine($"Using Dialog Item: {value}")