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

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

---

### Description

Each GotoItem represents an item in a [predefined Goto](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/contentlayout-property/llms-full.txt) [control](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/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 [Sidebar.FindItem](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/finditem-method/llms-full.txt) 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.Windows.Forms.Sidebar.GotoItem value = TXTextControl.Windows.Forms.Sidebar.GotoItem.TXITEM_GotoLabel;
Console.WriteLine($"Using Goto Item: {value}");
```

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

---

## Nearby

- **Previous:** [Sidebar.FindItem Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/finditem-method/llms-full.txt)
- **Next:** [Sidebar.IsPinned Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms/sidebar/ispinned-property/llms-full.txt)
