TX Text Control .NET for Windows Forms

DialogItem Enumeration

Enumeration|Introduced in 25.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.Windows.Forms.dll
Install
dotnet add package TXTextControl.TextControl.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.Windows.Forms.dll from the setup.

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.DialogItem

Members

MemberValueDescription
TXITEM_FindSynonymsLabel0Identifies the Find Synonyms label.
TXITEM_LanguageLabel1Identifies the Language label.
TXITEM_BackButton2Identifies the Back button.
TXITEM_FindSynonymsTextBox3Identifies the Find Synonyms text box.
TXITEM_LanguageComboBox4Identifies the Language combo box.
TXITEM_SynonymsLabel5Identifies the Synonyms label.
TXITEM_SynonymsTree6Identifies the Synonyms tree view.
TXITEM_Replace7Identifies the Replace button.
TXITEM_Cancel8Identifies 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}");