TX Spell .NET for WPF

FontStyle 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 style of the text displayed by the DialogButton.

Syntax

public FontStyle FontStyle { get; set; }

Examples

The following example uses DialogButton.FontStyle to configure font style as part of the dialog button workflow. The configured value is checked before the workflow continues.

dialogButton.FontStyle = System.Windows.FontStyles.Normal;
Console.WriteLine($"Font Style used by Dialog Button: {dialogButton.FontStyle}");