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 HyperlinkDialog 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 HyperlinkDialog.FindItem method to get the item and manipulate it.
Syntax
public enum HyperlinkDialog.DialogItemPublic Enum HyperlinkDialog.DialogItemMembers
| Member | Value | Description |
|---|---|---|
| TXITEM_HyperlinkTextLabel | 0 | Identifies the Hyperlink text label. |
| TXITEM_HyperlinkText | 1 | Identifies the Hyperlink text edit control. |
| TXITEM_HyperlinkLabel | 2 | Identifies the Hyperlink label. |
| TXITEM_Hyperlink | 3 | Identifies the Hyperlink edit control. |
| TXITEM_SelectFile | 4 | Identifies the Select File button. |
| TXITEM_BookmarkListLabel | 5 | Identifies the bookmark list label. |
| TXITEM_BookmarkList | 6 | Identifies the bookmark listbox. |
| TXITEM_ShowBookmarks | 7 | Identifies the Show Bookmarks label. |
| TXITEM_CurrentDocument | 8 | Identifies the Current Document radio button. |
| TXITEM_SelectedFile | 9 | Identifies the Selected File radio button. |
| TXITEM_AutoGenerationBookmarks | 10 | Identifies the Automatically Generated Bookmarks check box. |
| TXITEM_DeleteHyperlink | 11 | Identifies the Delete Hyperlink button. |
| TXITEM_OK | 12 | Identifies the OK button. |
| TXITEM_Cancel | 13 | Identifies the Cancel button. |
| TXITEM_DecriptiveTextLabel | 14 | Not described in the reference. |
| TXITEM_DescriptiveText | 15 | Not described in the reference. |
Examples
The following example selects the TXITEM_Hyperlink Text Label value from the Dialog Item enumeration and uses it as a documented workflow choice.
HyperlinkDialog.DialogItem value = HyperlinkDialog.DialogItem.TXITEM_HyperlinkTextLabel;
Console.WriteLine($"Using Dialog Item: {value}");Dim value As HyperlinkDialog.DialogItem = HyperlinkDialog.DialogItem.TXITEM_HyperlinkTextLabel
Console.WriteLine($"Using Dialog Item: {value}")