# ButtonBar.ResetButtonSeparators Method

> Resets the separator array to its default state.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Method
- **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.ResetButtonSeparators Method
- **247 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/buttonbar/resetbuttonseparators-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/buttonbar/resetbuttonseparators-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/buttonbar/resetbuttonseparators-method/llms-full.txt

---

### Description

Resets the separator array to its default state.

### Syntax

```csharp
public void ResetButtonSeparators();
```

```vbnet
Public Sub ResetButtonSeparators()
```

### Examples

The following example restores the button separators setting on the button bar to its default. The created object is then available to the surrounding document workflow.

```csharp
buttonBar.ResetButtonSeparators();
Console.WriteLine("Button Bar is ready for use.");
```

```vbnet
buttonBar.ResetButtonSeparators()
Console.WriteLine("Button Bar is ready for use.")
```

---

## Nearby

- **Previous:** [ButtonBar.ResetButtonPositions Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/buttonbar/resetbuttonpositions-method/llms-full.txt)
- **Next:** [ButtonBar.ResetDisplayColors Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/buttonbar/resetdisplaycolors-method/llms-full.txt)
