FontSize 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 size of the status bar in device-independent units (1/96th inch). This is a dependency property.
Syntax
public double FontSize { get; set; }Public Property FontSize() As DoubleExamples
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}");statusBar.FontSize = 1.0
Console.WriteLine($"Font Size used by Status Bar: {statusBar.FontSize}")