TX Text Control .NET for WPF

GotoItem Enumeration

Enumeration|Introduced in 26.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.WPF.dll
Install
dotnet add package TXTextControl.TextControl.WPF.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.WPF.dll from the setup.

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

Syntax

public enum Sidebar.GotoItem

Members

MemberValueDescription
TXITEM_GotoLabel0Identifies the label of the Go to list box.
TXITEM_GotoList1Identifies the Go to list box.
TXITEM_NumberLabel2Identifies the label of the Number text box.
TXITEM_Number3Identifies the Number respectively Bookmark combo box.
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 Goto Item enumeration and uses it as a documented workflow choice.

TXTextControl.WPF.Sidebar.GotoItem value = TXTextControl.WPF.Sidebar.GotoItem.TXITEM_GotoLabel;
Console.WriteLine($"Using Goto Item: {value}");