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 BookmarkDialog 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 BookmarkDialog.FindItem method to get the item and manipulate it.
Syntax
public enum BookmarkDialog.DialogItemPublic Enum BookmarkDialog.DialogItemMembers
| Member | Value | Description |
|---|---|---|
| TXITEM_BookmarkNameLabel | 0 | Identifies the Bookmark Name label. |
| TXITEM_BookmarkName | 1 | Identifies the Bookmark Name text box. |
| TXITEM_BookmarkNamesLabel | 2 | Identifies the Bookmark Names label. |
| TXITEM_BookmarkNames | 3 | Identifies the Bookmark Names list box. |
| TXITEM_Deletable | 4 | Identifies the Deletable check box. |
| TXITEM_AutoGenerationBookmarks | 5 | Identifies the Automatically Generated Bookmarks check box. |
| TXITEM_OK | 6 | Identifies the OK button. |
| TXITEM_Cancel | 7 | Identifies the Cancel button. |
Examples
The following example selects the TXITEM_Bookmark Name Label value from the Dialog Item enumeration and uses it as a documented workflow choice.
BookmarkDialog.DialogItem value = BookmarkDialog.DialogItem.TXITEM_BookmarkNameLabel;
Console.WriteLine($"Using Dialog Item: {value}");Dim value As BookmarkDialog.DialogItem = BookmarkDialog.DialogItem.TXITEM_BookmarkNameLabel
Console.WriteLine($"Using Dialog Item: {value}")