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 GotoDialog 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 GotoDialog.FindItem method to get the item and manipulate it.

Syntax

public enum GotoDialog.DialogItem

Members

MemberValueDescription
TXITEM_GotoLabel0Identifies the label of the Go to listbox.
TXITEM_GotoList1Identifies the Go to listbox.
TXITEM_NumberLabel2Identifies the label of the Number textbox.
TXITEM_Number3Identifies the Number respectively Bookmark combobox.
TXITEM_GotoPrevious4Identifies the Previous button.
TXITEM_GotoNext5Identifies the Next button.
TXITEM_Close6Identifies the Close button.

Examples

The following example selects the TXITEM_Goto Label value from the Dialog Item enumeration and uses it as a documented workflow choice.

GotoDialog.DialogItem value = GotoDialog.DialogItem.TXITEM_GotoLabel;
Console.WriteLine($"Using Dialog Item: {value}");