GotoItem Enumeration
- Namespace
TXTextControl.Windows. Forms
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXTextControl.Windows. Forms. dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXTextControl.from the setup.Windows. Forms. dll
Description
Each GotoItem represents an item in a predefined Goto control. The corresponding string of a GotoItem is the same as the item's Name property. The GotoItem enumeration can be used with the Sidebar.FindItem method to get the item and manipulate it.
Syntax
public enum Sidebar.GotoItemPublic Enum Sidebar.GotoItemMembers
| Member | Value | Description |
|---|---|---|
| TXITEM_GotoLabel | 0 | Identifies the label of the Go to list box. |
| TXITEM_GotoList | 1 | Identifies the Go to list box. |
| TXITEM_NumberLabel | 2 | Identifies the label of the Number text box. |
| TXITEM_Number | 3 | Identifies the Number respectively Bookmark combo box. |
| TXITEM_GotoPrevious | 4 | Identifies the Previous button. |
| TXITEM_GotoNext | 5 | Identifies the Next button. |
| TXITEM_Close | 6 | Identifies the Close button. |
Examples
The following example selects the TXITEM_Goto Label value from the Goto Item enumeration and uses it as a documented workflow choice.
TXTextControl.Windows.Forms.Sidebar.GotoItem value = TXTextControl.Windows.Forms.Sidebar.GotoItem.TXITEM_GotoLabel;
Console.WriteLine($"Using Goto Item: {value}");Dim value As TXTextControl.Windows.Forms.Sidebar.GotoItem = TXTextControl.Windows.Forms.Sidebar.GotoItem.TXITEM_GotoLabel
Console.WriteLine($"Using Goto Item: {value}")