TX Text Control .NET for Windows Forms

DialogItem Enumeration

Enumeration|Introduced in 23.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 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.DialogItem

Members

MemberValueDescription
TXITEM_BookmarkNameLabel0Identifies the Bookmark Name label.
TXITEM_BookmarkName1Identifies the Bookmark Name text box.
TXITEM_BookmarkNamesLabel2Identifies the Bookmark Names label.
TXITEM_BookmarkNames3Identifies the Bookmark Names list box.
TXITEM_Deletable4Identifies the Deletable check box.
TXITEM_AutoGenerationBookmarks5Identifies the Automatically Generated Bookmarks check box.
TXITEM_OK6Identifies the OK button.
TXITEM_Cancel7Identifies 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}");