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 of the text displayed by the DialogButton.
Syntax
public FontStyle FontStyle { get; set; }Public Property FontStyle As FontStyleExamples
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}");dialogButton.FontStyle = System.Windows.FontStyles.Normal
Console.WriteLine($"Font Style used by Dialog Button: {dialogButton.FontStyle}")