TX Text Control .NET for WPF

TitleForeground Property

Property|Introduced in 26.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.WPF.dll from the private NuGet feed or Text Control Offline Packages

Description

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).

Syntax

public Brush TitleForeground { get; set; }

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.

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