# StatusBar.FontSize Property

> Gets or sets the font size of the status bar in device-independent units (1/96th inch). This is a dependency property.

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

---

### Description

Gets or sets the font size of the status bar in device-independent units (1/96th inch). This is a dependency property.

### Syntax

```csharp
public double FontSize { get; set; }
```

```vbnet
Public Property FontSize() As Double
```

### Examples

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

```csharp
statusBar.FontSize = 1.0;
Console.WriteLine($"Font Size used by Status Bar: {statusBar.FontSize}");
```

```vbnet
statusBar.FontSize = 1.0
Console.WriteLine($"Font Size used by Status Bar: {statusBar.FontSize}")
```

---

## Nearby

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