TX Text Control .NET for WPF

FontSize Property

Property|Introduced in 16.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 status bar in device-independent units (1/96th inch). This is a dependency property.

Syntax

public double FontSize { get; set; }

Examples

The following example uses StatusBar.FontSize to configure font size as part of the status bar workflow. The configured value is checked before the workflow continues.

statusBar.FontSize = 1.0;
Console.WriteLine($"Font Size used by Status Bar: {statusBar.FontSize}");