TitleForeground Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
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; }Public Property TitleForeground As BrushExamples
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.");
}sidebar.TitleForeground = System.Windows.Media.Brushes.SteelBlue
If sidebar.TitleForeground IsNot Nothing Then
Console.WriteLine("Sidebar: Title Foreground is available.")
End If