# DialogButton.FontWeight Property

> Gets or sets the font weight 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.FontWeight Property
- **317 words**
- **Web URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/dialogbutton/fontweight-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/dialogbutton/fontweight-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/dialogbutton/fontweight-property/llms-full.txt

---

### Description

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

### Syntax

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

```vbnet
Public Property FontWeight As FontWeight
```

### Examples

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

```csharp
dialogButton.FontWeight = System.Windows.FontWeights.Normal;
Console.WriteLine($"Font Weight used by Dialog Button: {dialogButton.FontWeight}");
```

```vbnet
dialogButton.FontWeight = System.Windows.FontWeights.Normal
Console.WriteLine($"Font Weight used by Dialog Button: {dialogButton.FontWeight}")
```

---

## Nearby

- **Previous:** [DialogButton.FontStyle Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/dialogbutton/fontstyle-property/llms-full.txt)
- **Next:** [DialogButton.IsDeleteButton Property](https://docs.textcontrol.com/tx-spell-dotnet-wpf/reference/txtextcontrol-wpf-proofing/dialogbutton/isdeletebutton-property/llms-full.txt)
