FontStyle 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 style of the status bar. This is a dependency property. The property value has the type System.Windows.FontStyle. The default value is FontStyles.Normal.
Syntax
public FontStyle FontStyle { get; set; }Public Property FontStyle() As FontStyleExamples
The following example uses StatusBar.FontStyle to configure font style as part of the status bar workflow. The configured value is checked before the workflow continues.
statusBar.FontStyle = System.Windows.FontStyles.Normal;
Console.WriteLine($"Font Style used by Status Bar: {statusBar.FontStyle}");statusBar.FontStyle = System.Windows.FontStyles.Normal
Console.WriteLine($"Font Style used by Status Bar: {statusBar.FontStyle}")