# ButtonBar.ButtonBarItem Enumeration

> Each ButtonBarItem represents an item in a WPF.ButtonBar. The corresponding string of a ButtonBarItem 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
- **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 > ButtonBar.ButtonBarItem Enumeration
- **1290 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/buttonbar/buttonbaritem-enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/buttonbar/buttonbaritem-enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/buttonbar/buttonbaritem-enumeration/llms-full.txt

---

### Description

Each ButtonBarItem represents an item in a [WPF.ButtonBar](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/buttonbar/llms-full.txt). The corresponding string of a ButtonBarItem 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 ButtonBar.ButtonBarItem
```

```vbnet
Public Enum ButtonBar.ButtonBarItem
```

### Members

| Member | Value | Description |
|---|---|---|
| TXITEM\_StyleName | 0 | Identifies the StyleName combobox. |
| TXITEM\_FontFamily | 1 | Identifies the FontFamily combobox. |
| TXITEM\_FontSize | 2 | Identifies the FontSize combobox. |
| TXITEM\_ZoomFactor | 3 | Identifies the ZoomFactor combobox. |
| TXITEM\_Bold | 4 | Identifies the Bold button. |
| TXITEM\_Italic | 5 | Identifies the Italic button. |
| TXITEM\_Underline | 6 | Identifies the Underline button. |
| TXITEM\_Strikeout | 7 | Identifies the Strikeout button. |
| TXITEM\_Subscript | 8 | Identifies the Subscript button. |
| TXITEM\_Superscript | 9 | Identifies the Superscript button. |
| TXITEM\_IncreaseFont | 10 | Identifies the IncreaseFont button. |
| TXITEM\_DecreaseFont | 11 | Identifies the DecreaseFont button. |
| TXITEM\_LeftAligned | 12 | Identifies the LeftAligned button. |
| TXITEM\_Centered | 13 | Identifies the Centered button. |
| TXITEM\_RightAligned | 14 | Identifies the RightAligned button. |
| TXITEM\_Justified | 15 | Identifies the Justified button. |
| TXITEM\_DecreaseIndent | 16 | Identifies the DecreaseIndent button. |
| TXITEM\_IncreaseIndent | 17 | Identifies the IncreaseIndent button. |
| TXITEM\_LeftToRight | 18 | Identifies the LeftToRight button. |
| TXITEM\_RightToLeft | 19 | Identifies the RightToLeft button. |
| TXITEM\_BulletedList | 20 | Identifies the BulletedList button. |
| TXITEM\_NumberedList | 21 | Identifies the NumberedList button. |
| TXITEM\_StructuredList | 22 | Identifies the StructuredList button. |
| TXITEM\_ControlChars | 23 | Identifies the ControlChars button. |

### Examples

The following example selects the TXITEM\_Style Name value from the Button Bar Item enumeration and uses it as a documented workflow choice.

```csharp
TXTextControl.WPF.ButtonBar.ButtonBarItem value = TXTextControl.WPF.ButtonBar.ButtonBarItem.TXITEM_StyleName;
Console.WriteLine($"Using Button Bar Item: {value}");
```

```vbnet
Dim value As TXTextControl.WPF.ButtonBar.ButtonBarItem = TXTextControl.WPF.ButtonBar.ButtonBarItem.TXITEM_StyleName
Console.WriteLine($"Using Button Bar Item: {value}")
```

---

## Nearby

- **Previous:** [ButtonBar Class](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/buttonbar/llms-full.txt)
- **Next:** [ColorConverter Class](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/colorconverter/llms-full.txt)
