# DialogButton.FontFamily Property

> Gets or sets the font family of the text displayed by the DialogButton.

- **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 > DialogButton.FontFamily Property
- **427 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/dialogbutton/fontfamily-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/dialogbutton/fontfamily-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/dialogbutton/fontfamily-property/llms-full.txt

---

### Description

Gets or sets the font family of the text displayed by the DialogButton.

### Syntax

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

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

### Examples

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

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

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

---

## Nearby

- **Previous:** [DialogButton.Enabled Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/dialogbutton/enabled-property/llms-full.txt)
- **Next:** [DialogButton.FontSize Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/dialogbutton/fontsize-property/llms-full.txt)
