# StatusBar.BorderStyle Property

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

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 16.0
- **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 > StatusBar.BorderStyle Property
- **561 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/borderstyle-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/borderstyle-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/borderstyle-property/llms-full.txt

---

### Description

Gets or sets the border style of the status bar.

### Syntax

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

```vbnet
Public Property BorderStyle As StatusBarBorderStyle
```

### Members

| Value | Description |
|---|---|
| ColorScheme | The status bar has a flat design without a border and with a horizontal color gradient in the background. 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-wpf/reference/txtextcontrol-wpf/statusbar/displaycolors-property/llms-full.txt) property. |
| Flat | The status bar has a flat design and no border. |
| FixedSingle | The status bar has a flat design and a border with a single line. |
| Simple3D | The status bar has a 3D design and no border. |
| Fixed3D | The status bar has a 3D design and a border with a single line. |
| VerticalColorScheme | The status bar has a flat design without a border and with a horizontal color gradient in the background. 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-wpf/reference/txtextcontrol-wpf/statusbar/displaycolors-property/llms-full.txt) property. |

### Examples

The following example uses `StatusBar.BorderStyle` to configure border style as part of the status bar workflow. The configured value is checked before the workflow continues.

```csharp
statusBar.BorderStyle = StatusBarBorderStyle.Fixed3D;
Console.WriteLine($"Border Style used by Status Bar: {statusBar.BorderStyle}");
```

```vbnet
statusBar.BorderStyle = StatusBarBorderStyle.Fixed3D
Console.WriteLine($"Border Style used by Status Bar: {statusBar.BorderStyle}")
```

---

## Nearby

- **Previous:** [StatusBar Class](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/llms-full.txt)
- **Next:** [StatusBar.ColumnText Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/columntext-property/llms-full.txt)
