# ButtonBar.ButtonStyle Property

> Gets or sets the painting style of the buttons.

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

---

### Description

Gets or sets the painting style of the buttons.

### Syntax

```csharp
public ButtonStyle ButtonStyle { get; set; }
```

```vbnet
Public Property ButtonStyle As ButtonStyle
```

### Members

| Value | Description |
|---|---|
| ColorScheme | Paints the button bar's buttons with a light to dark variation in 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. |
| FlatButtons | Paints the button bar's buttons without visual effects. |
| ThreeDimensionalButtons | Paints the button bar's buttons with 3D effects. |
| XPButtons | Paints the button bar's buttons in Windows XP look. |

### Examples

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

```csharp
buttonBar.ButtonStyle = ButtonStyle.ThreeDimensionalButtons;
buttonBar.Update();
```

```vbnet
buttonBar.ButtonStyle = ButtonStyle.ThreeDimensionalButtons
buttonBar.Update()
```

---

## Nearby

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