TitleFontFamily 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 font family of the title bar's text. The default value is the font family 'Calibri Light'.
Syntax
public FontFamily TitleFontFamily { get; set; }Public Property TitleFontFamily As FontFamilyExamples
The following example uses Sidebar.TitleFontFamily to configure title font family as part of the sidebar workflow. The configured value is checked before the workflow continues.
sidebar.TitleFontFamily = new System.Windows.Media.FontFamily("Segoe UI");
if (sidebar.TitleFontFamily != null)
{
Console.WriteLine("Sidebar: Title Font Family is available.");
}sidebar.TitleFontFamily = New System.Windows.Media.FontFamily("Segoe UI")
If sidebar.TitleFontFamily IsNot Nothing Then
Console.WriteLine("Sidebar: Title Font Family is available.")
End If