TX Spell .NET for WPF

FontFamily Property

Property|Introduced in 3.0
Namespace
TXTextControl.WPF.Proofing
Package
TXTextControl.TXSpell.WPF.SDK as TXSpell.WPF.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets the font family of the text displayed by the DialogButton.

Syntax

public FontFamily FontFamily { get; set; }

Examples

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.");
}