DialogItem Enumeration
- Namespace
TXTextControl.WPF
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WPF. SDK
- Assembly
TXTextControl.WPF. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WPF. SDK TXTextControl.from the setup.WPF. dll
Description
Each DialogItem represents an item in a WPF.DeleteBookmarksDialog dialog box. The corresponding string of a DialogItem is the same as the item's Name property. The string can be used with the FrameworkElement.FindName method to get the item and manipulate, move or delete 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_DeleteBookmark | 2 | Identifies the Delete button. |
| TXITEM_GotoBookmark | 3 | Identifies the Goto button. |
| TXITEM_Cancel | 5 | Identifies the Cancel button. |
| TXITEM_AutoGenerationBookmarks | 4 | Not described in the reference. |
Examples
The following example selects the TXITEM_Bookmark List Label value from the Dialog Item enumeration and uses it as a documented workflow choice.
TXTextControl.WPF.DeleteBookmarksDialog.DialogItem value = TXTextControl.WPF.DeleteBookmarksDialog.DialogItem.TXITEM_BookmarkListLabel;
Console.WriteLine($"Using Dialog Item: {value}");Dim value As TXTextControl.WPF.DeleteBookmarksDialog.DialogItem = TXTextControl.WPF.DeleteBookmarksDialog.DialogItem.TXITEM_BookmarkListLabel
Console.WriteLine($"Using Dialog Item: {value}")