# BookmarkDialog.DialogItem Enumeration

> Each DialogItem represents an item in a BookmarkDialog 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 BookmarkDialog.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 > BookmarkDialog.DialogItem Enumeration
- **714 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/bookmarkdialog/dialogitem-enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/bookmarkdialog/dialogitem-enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/bookmarkdialog/dialogitem-enumeration/llms-full.txt

---

### Description

Each DialogItem represents an item in a [BookmarkDialog](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/bookmarkdialog/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 [BookmarkDialog.FindItem](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/bookmarkdialog/finditem-method/llms-full.txt) method to get the item and manipulate it.

### Syntax

```csharp
public enum BookmarkDialog.DialogItem
```

```vbnet
Public Enum BookmarkDialog.DialogItem
```

### Members

| Member | Value | Description |
|---|---|---|
| TXITEM\_BookmarkNameLabel | 0 | Identifies the Bookmark Name label. |
| TXITEM\_BookmarkName | 1 | Identifies the Bookmark Name text box. |
| TXITEM\_BookmarkNamesLabel | 2 | Identifies the Bookmark Names label. |
| TXITEM\_BookmarkNames | 3 | Identifies the Bookmark Names list box. |
| TXITEM\_Deletable | 4 | Identifies the Deletable check box. |
| TXITEM\_AutoGenerationBookmarks | 5 | Identifies the Automatically Generated Bookmarks check box. |
| TXITEM\_OK | 6 | Identifies the OK button. |
| TXITEM\_Cancel | 7 | Identifies the Cancel button. |

### Examples

The following example selects the TXITEM\_Bookmark Name Label value from the Dialog Item enumeration and uses it as a documented workflow choice.

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

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

---

## Nearby

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