FontStyle 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 style for the text displayed by the SpellCheckDialog labels, the preview, suggestion list, suggestion dictionary combo box and the cancel button.
Syntax
public FontStyle FontStyle { get; set; }Public Property FontStyle As FontStyleExamples
The following example uses SpellCheckDialog.FontStyle to configure font style as part of the spell check dialog workflow. The configured value is checked before the workflow continues.
spellCheckDialog.FontStyle = System.Windows.FontStyles.Normal;
Console.WriteLine($"Font Style used by Spell Check Dialog: {spellCheckDialog.FontStyle}");spellCheckDialog.FontStyle = System.Windows.FontStyles.Normal
Console.WriteLine($"Font Style used by Spell Check Dialog: {spellCheckDialog.FontStyle}")