# StatusBar.FontStyle Property

> Gets or sets the font style of the status bar. This is a dependency property. The property value has the type System.Windows.FontStyle. The default value is FontStyles.Normal.

- **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.FontStyle Property
- **335 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/fontstyle-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/fontstyle-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/statusbar/fontstyle-property/llms-full.txt

---

### Description

Gets or sets the font style of the status bar. This is a dependency property. The property value has the type `System.Windows.FontStyle`. The default value is `FontStyles.Normal`.

### Syntax

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

```vbnet
Public Property FontStyle() As FontStyle
```

### Examples

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

```csharp
statusBar.FontStyle = System.Windows.FontStyles.Normal;
Console.WriteLine($"Font Style used by Status Bar: {statusBar.FontStyle}");
```

```vbnet
statusBar.FontStyle = System.Windows.FontStyles.Normal
Console.WriteLine($"Font Style used by Status Bar: {statusBar.FontStyle}")
```

---

## Nearby

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