# ButtonBar.BorderStyle Property

> Gets or sets the border style of the button bar.

- **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.BorderStyle Property
- **436 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/buttonbar/borderstyle-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/buttonbar/borderstyle-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/buttonbar/borderstyle-property/llms-full.txt

---

### Description

Gets or sets the border style of the button bar.

### Syntax

```csharp
public ButtonBarBorderStyle BorderStyle { get; set; }
```

```vbnet
Public Property BorderStyle As ButtonBarBorderStyle
```

### Members

| Value | Description |
|---|---|
| ColorScheme | The button bar has no border and a light to dark variation in background color. The colors depend on the color scheme currently set through the system or on the colors set with the [DisplayColors](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/buttonbar/displaycolors-property/llms-full.txt) property. |
| Fixed3D | The button bar has a border with a single line and a 3D visual effect. |
| FixedSingle | The button bar has a border with a single line. |
| Flat | The button bar has no border. |
| Simple3D | The button bar has a no border but a 3D visual effect. |

### Examples

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

```csharp
buttonBar.BorderStyle = ButtonBarBorderStyle.Simple3D;
buttonBar.Update();
```

```vbnet
buttonBar.BorderStyle = ButtonBarBorderStyle.Simple3D
buttonBar.Update()
```

---

## Nearby

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