FontFamily 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 family of the status bar. This is a dependency property. The property value has the type System.Windows.Media.FontFamily.
Syntax
public FontFamily FontFamily { get; set; }Public Property FontFamily() As FontFamilyExamples
The following example uses StatusBar.FontFamily to configure font family as part of the status bar workflow. The configured value is checked before the workflow continues.
statusBar.FontFamily = new System.Windows.Media.FontFamily("Segoe UI");
if (statusBar.FontFamily != null)
{
Console.WriteLine("Status Bar: Font Family is available.");
}statusBar.FontFamily = New System.Windows.Media.FontFamily("Segoe UI")
If statusBar.FontFamily IsNot Nothing Then
Console.WriteLine("Status Bar: Font Family is available.")
End If