TX Text Control .NET for WPF

TitleFontFamily 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 font family of the title bar's text. The default value is the font family 'Calibri Light'.

Syntax

public FontFamily TitleFontFamily { get; set; }

Examples

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.");
}