FontFamily Property
- Namespace
TXTextControl.WPF. Proofing
- Package
TXTextControl.asTXSpell. WPF. SDK TXSpell.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Gets or sets the font family of the text displayed by the DialogButton.
Syntax
public FontFamily FontFamily { get; set; }Public Property FontFamily As FontFamilyExamples
The following example uses DialogButton.FontFamily to configure font family as part of the dialog button workflow. The configured value is checked before the workflow continues.
dialogButton.FontFamily = new System.Windows.Media.FontFamily("Segoe UI");
if (dialogButton.FontFamily != null)
{
Console.WriteLine("Dialog Button: Font Family is available.");
}dialogButton.FontFamily = New System.Windows.Media.FontFamily("Segoe UI")
If dialogButton.FontFamily IsNot Nothing Then
Console.WriteLine("Dialog Button: Font Family is available.")
End If