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 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.DialogItem

Members

MemberValueDescription
TXITEM_HyperlinkTextLabel0Identifies the Hyperlink text label.
TXITEM_HyperlinkText1Identifies the Hyperlink text edit control.
TXITEM_HyperlinkLabel2Identifies the Hyperlink label.
TXITEM_SelectFile4Identifies the Select File button.
TXITEM_BookmarkListLabel5Identifies the bookmark list label.
TXITEM_BookmarkList6Identifies the bookmark listbox.
TXITEM_ShowBookmarks7Identifies the Show Bookmarks label.
TXITEM_CurrentDocument8Identifies the Current Document radio button.
TXITEM_SelectedFile9Identifies the Selected File radio button.
TXITEM_AutoGenerationBookmarks10Identifies the Automatically Generated Bookmarks check box.
TXITEM_OK12Identifies the OK button.
TXITEM_Cancel13Identifies the Cancel button.
TXITEM_DecriptiveTextLabel14Not described in the reference.
TXITEM_DescriptiveText15Not 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}");