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 DeleteBookmarksDialog 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 DeleteBookmarksDialog.FindItem method to get the item and manipulate it.
Syntax
public enum DeleteBookmarksDialog.DialogItemPublic Enum DeleteBookmarksDialog.DialogItemMembers
| Member | Value | Description |
|---|---|---|
| TXITEM_BookmarkListLabel | 0 | Identifies the bookmark list label. |
| TXITEM_BookmarkList | 1 | Identifies the bookmark listbox. |
| TXITEM_Cancel | 5 | Identifies the Cancel button. |
| TXITEM_DeleteBookmark | 2 | Identifies the Delete button. |
| TXITEM_AutoGenerationBookmarks | 4 | Identifies the Automatically Generated Bookmarks check box. |
| TXITEM_GotoBookmark | 3 | Identifies the Goto button. |
Examples
The following example selects the TXITEM_Bookmark List Label value from the Dialog Item enumeration and uses it as a documented workflow choice.
DeleteBookmarksDialog.DialogItem value = DeleteBookmarksDialog.DialogItem.TXITEM_BookmarkListLabel;
Console.WriteLine($"Using Dialog Item: {value}");Dim value As DeleteBookmarksDialog.DialogItem = DeleteBookmarksDialog.DialogItem.TXITEM_BookmarkListLabel
Console.WriteLine($"Using Dialog Item: {value}")