# BookmarkDialog.DialogItem Enumeration

> Each DialogItem represents an item in a WPF.BookmarkDialog dialog box. The corresponding string of a DialogItem is the same as the item's Name property. The string can be used with the FrameworkElement.FindName method to get the item and manipulate, move or delete it.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Enumeration
- **Introduced:** 22.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 > BookmarkDialog.DialogItem Enumeration
- **735 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/bookmarkdialog/dialogitem-enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/bookmarkdialog/dialogitem-enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/bookmarkdialog/dialogitem-enumeration/llms-full.txt

---

### Description

Each DialogItem represents an item in a [WPF.BookmarkDialog](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/bookmarkdialog/llms-full.txt) dialog box. The corresponding string of a DialogItem is the same as the item's Name property. The string can be used with the `FrameworkElement.FindName` method to get the item and manipulate, move or delete 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\_OK | 6 | Identifies the OK button. |
| TXITEM\_Cancel | 7 | Identifies the Cancel button. |
| TXITEM\_AutoGenerationBookmarks | 5 | Not described in the reference. |

### 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
TXTextControl.WPF.BookmarkDialog.DialogItem value = TXTextControl.WPF.BookmarkDialog.DialogItem.TXITEM_BookmarkNameLabel;
Console.WriteLine($"Using Dialog Item: {value}");
```

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

---

## Nearby

- **Previous:** [BookmarkDialog Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/bookmarkdialog/constructor/llms-full.txt)
- **Next:** [BooleanConverter Class](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/booleanconverter/llms-full.txt)
