# Sidebar.TitleForeground Property

> Gets or sets the brush of the title bar's text. The default value is a System.Windows.Media.SolidColorBrush instance with the ARGB value (255, 43, 87, 154).

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

---

### Description

Gets or sets the brush 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 a System.Windows.Media.SolidColorBrush instance with the ARGB value (255, 43, 87, 154).

### Syntax

```csharp
public Brush TitleForeground { get; set; }
```

```vbnet
Public Property TitleForeground As Brush
```

### Examples

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

```csharp
sidebar.TitleForeground = System.Windows.Media.Brushes.SteelBlue;
if (sidebar.TitleForeground != null)
{
    Console.WriteLine("Sidebar: Title Foreground is available.");
}
```

```vbnet
sidebar.TitleForeground = System.Windows.Media.Brushes.SteelBlue
If sidebar.TitleForeground IsNot Nothing Then
    Console.WriteLine("Sidebar: Title Foreground is available.")
End If
```

---

## Nearby

- **Previous:** [Sidebar.TitleFontSize Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/sidebar/titlefontsize-property/llms-full.txt)
- **Next:** [Sidebar.TrackedChangesItem Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/sidebar/trackedchangesitem-enumeration/llms-full.txt)
