TX Text Control .NET for WPF

TitleFontSize 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 size of the title bar's text. The default value is 24.

Syntax

public double TitleFontSize { get; set; }

Examples

The following example uses Sidebar.TitleFontSize to configure title font size as part of the sidebar workflow. The configured value is checked before the workflow continues.

sidebar.TitleFontSize = 1.0;
Console.WriteLine($"Title Font Size used by Sidebar: {sidebar.TitleFontSize}");