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.GotoDialog 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 GotoDialog.DialogItemPublic Enum GotoDialog.DialogItemMembers
| Member | Value | Description |
|---|---|---|
| TXITEM_GotoLabel | 0 | Identifies the label of the Go to listbox. |
| TXITEM_GotoList | 1 | Identifies the Go to listbox. |
| TXITEM_NumberLabel | 2 | Identifies the label of the Number textbox. |
| TXITEM_Number | 3 | Identifies the Number textbox. |
| TXITEM_NameList | 4 | Identifies the Bookmark listbox. |
| TXITEM_GotoPrevious | 5 | Identifies the Previous button. |
| TXITEM_GotoNext | 6 | Identifies the Next button. |
| TXITEM_Close | 7 | Identifies 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.
TXTextControl.WPF.GotoDialog.DialogItem value = TXTextControl.WPF.GotoDialog.DialogItem.TXITEM_GotoLabel;
Console.WriteLine($"Using Dialog Item: {value}");Dim value As TXTextControl.WPF.GotoDialog.DialogItem = TXTextControl.WPF.GotoDialog.DialogItem.TXITEM_GotoLabel
Console.WriteLine($"Using Dialog Item: {value}")