# SpellCheckDialog.FontFamily Property

> Gets or sets the font family 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.FontFamily Property
- **451 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialog/fontfamily-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialog/fontfamily-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/spellcheckdialog/fontfamily-property/llms-full.txt

---

### Description

Gets or sets the font family for the text displayed by the SpellCheckDialog labels, the preview, suggestion list, suggestion dictionary combo box and the cancel button.

### Syntax

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

```vbnet
Public Property FontFamily As FontFamily
```

### Examples

The following example uses `SpellCheckDialog.FontFamily` to configure font family as part of the spell check dialog workflow. The configured value is checked before the workflow continues.

```csharp
spellCheckDialog.FontFamily = new System.Windows.Media.FontFamily("Segoe UI");
if (spellCheckDialog.FontFamily != null)
{
    Console.WriteLine("Spell Check Dialog: Font Family is available.");
}
```

```vbnet
spellCheckDialog.FontFamily = New System.Windows.Media.FontFamily("Segoe UI")
If spellCheckDialog.FontFamily IsNot Nothing Then
    Console.WriteLine("Spell Check Dialog: Font Family is available.")
End If
```

---

## Nearby

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