# Sidebar.GotoItem Enumeration

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

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Enumeration
- **Introduced:** 26.0
- **Namespace:** `TXTextControl.WPF`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.WPF.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.WPF.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.WPF > Sidebar.GotoItem Enumeration
- **695 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/sidebar/gotoitem-enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/sidebar/gotoitem-enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/sidebar/gotoitem-enumeration/llms-full.txt

---

### Description

Each GotoItem represents an item in a [predefined Goto](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/sidebar/contentlayout-property/llms-full.txt) [control](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/sidebar/content-property/llms-full.txt). 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

```csharp
public enum Sidebar.GotoItem
```

```vbnet
Public Enum Sidebar.GotoItem
```

### Members

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

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

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

---

## Nearby

- **Previous:** [Sidebar.FindAndReplaceItem Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/sidebar/findandreplaceitem-enumeration/llms-full.txt)
- **Next:** [Sidebar.IsPinned Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/sidebar/ispinned-property/llms-full.txt)
