# ButtonBar.ButtonSeparators Property

> Gets or sets an array of boolean values specifying whether or not a separator is drawn between two buttons. The maximum size of the array is 31.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **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 > ButtonBar.ButtonSeparators Property
- **316 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/buttonbar/buttonseparators-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/buttonbar/buttonseparators-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/buttonbar/buttonseparators-property/llms-full.txt

---

### Description

Gets or sets an array of boolean values specifying whether or not a separator is drawn between two buttons. The maximum size of the array is 31.

### Syntax

```csharp
public bool[] ButtonSeparators { get; set; }
```

```vbnet
Public Property ButtonSeparators As Boolean()
```

### Examples

The following example uses `ButtonBar.ButtonSeparators` to configure button separators as part of the button bar workflow. The change is then applied to the active document or user interface.

```csharp
buttonBar.ButtonSeparators = new bool[] { true };
buttonBar.Update();
```

```vbnet
buttonBar.ButtonSeparators = New Boolean() { True }
buttonBar.Update()
```

---

## Nearby

- **Previous:** [ButtonBar.ButtonPositions Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/buttonbar/buttonpositions-property/llms-full.txt)
- **Next:** [ButtonBar.ButtonStyle Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/buttonbar/buttonstyle-property/llms-full.txt)
