# GotoDialog.DialogItem Enumeration

> Each DialogItem represents an item in a GotoDialog dialog box. The corresponding string of a DialogItem is the same as the item's Name property. The DialogItem enumeration can be used with the GotoDialog.FindItem method to get the item and manipulate it.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Enumeration
- **Introduced:** 23.0
- **Namespace:** `TXTextControl`
- **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 > GotoDialog.DialogItem Enumeration
- **654 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/gotodialog/dialogitem-enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/gotodialog/dialogitem-enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/gotodialog/dialogitem-enumeration/llms-full.txt

---

### Description

Each DialogItem represents an item in a [GotoDialog](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/gotodialog/llms-full.txt) dialog box. The corresponding string of a DialogItem is the same as the item's Name property. The DialogItem enumeration can be used with the [GotoDialog.FindItem](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/gotodialog/finditem-method/llms-full.txt) method to get the item and manipulate it.

### Syntax

```csharp
public enum GotoDialog.DialogItem
```

```vbnet
Public Enum GotoDialog.DialogItem
```

### Members

| 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 respectively Bookmark combobox. |
| 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 Dialog Item enumeration and uses it as a documented workflow choice.

```csharp
GotoDialog.DialogItem value = GotoDialog.DialogItem.TXITEM_GotoLabel;
Console.WriteLine($"Using Dialog Item: {value}");
```

```vbnet
Dim value As GotoDialog.DialogItem = GotoDialog.DialogItem.TXITEM_GotoLabel
Console.WriteLine($"Using Dialog Item: {value}")
```

---

## Nearby

- **Previous:** [GotoDialog Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/gotodialog/constructor/llms-full.txt)
- **Next:** [GotoDialog.FindItem Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/gotodialog/finditem-method/llms-full.txt)
