# Sidebar.TitleFontSize Property

> Gets or sets the font size of the title bar's text. The default value is 24.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 26.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 > Sidebar.TitleFontSize Property
- **322 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/sidebar/titlefontsize-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/sidebar/titlefontsize-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/sidebar/titlefontsize-property/llms-full.txt

---

### Description

Gets or sets the font size of the title bar's [text](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/sidebar/text-property/llms-full.txt). The default value is 24.

### Syntax

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

```vbnet
Public Property TitleFontSize As Double
```

### Examples

The following example uses `Sidebar.TitleFontSize` to configure title font size as part of the sidebar workflow. The configured value is checked before the workflow continues.

```csharp
sidebar.TitleFontSize = 1.0;
Console.WriteLine($"Title Font Size used by Sidebar: {sidebar.TitleFontSize}");
```

```vbnet
sidebar.TitleFontSize = 1.0
Console.WriteLine($"Title Font Size used by Sidebar: {sidebar.TitleFontSize}")
```

---

## Nearby

- **Previous:** [Sidebar.TitleFontFamily Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/sidebar/titlefontfamily-property/llms-full.txt)
- **Next:** [Sidebar.TitleForeground Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/sidebar/titleforeground-property/llms-full.txt)
