# SpellCheckDialog.FontStyle Property

> 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.

- **Product:** TX Spell .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 3.0
- **Namespace:** `TXTextControl.WPF.Proofing`
- **Package:** `TXTextControl.TXSpell.WPF.SDK` (assembly `TXSpell.WPF.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXSpell.WPF.dll` from the setup
- **Path:** TX Spell .NET for WPF > Reference > TXTextControl.WPF.Proofing > SpellCheckDialog.FontStyle Property
- **339 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialog/fontstyle-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialog/fontstyle-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialog/fontstyle-property/llms-full.txt

---

### 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

```csharp
public FontStyle FontStyle { get; set; }
```

```vbnet
Public Property FontStyle As FontStyle
```

### Examples

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.

```csharp
spellCheckDialog.FontStyle = System.Windows.FontStyles.Normal;
Console.WriteLine($"Font Style used by Spell Check Dialog: {spellCheckDialog.FontStyle}");
```

```vbnet
spellCheckDialog.FontStyle = System.Windows.FontStyles.Normal
Console.WriteLine($"Font Style used by Spell Check Dialog: {spellCheckDialog.FontStyle}")
```

---

## Nearby

- **Previous:** [SpellCheckDialog.FontSize Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialog/fontsize-property/llms-full.txt)
- **Next:** [SpellCheckDialog.FontWeight Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialog/fontweight-property/llms-full.txt)
