# TextControl.FontWeight Property

> Gets or sets the weight or thickness of the text control's font. This is a dependency property. The property value has the type System.Windows.FontWeight. The default value is FontWeights.Normal.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 16.0
- **Namespace:** `TXTextControl.WPF`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.WPF.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.WPF.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.WPF > TextControl.FontWeight Property
- **345 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/fontweight-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/fontweight-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/fontweight-property/llms-full.txt

---

### Description

Gets or sets the weight or thickness of the text control's font. This is a dependency property. The property value has the type `System.Windows.FontWeight`. The default value is `FontWeights.Normal`.

### Syntax

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

```vbnet
Public Property FontWeight() As FontWeight
```

### Examples

The following example uses `TextControl.FontWeight` to configure font weight as part of the text control workflow. The configured value is checked before the workflow continues.

```csharp
textControl.FontWeight = System.Windows.FontWeights.Normal;
Console.WriteLine($"Font Weight used by Text Control: {textControl.FontWeight}");
```

```vbnet
textControl.FontWeight = System.Windows.FontWeights.Normal
Console.WriteLine($"Font Weight used by Text Control: {textControl.FontWeight}")
```

---

## Nearby

- **Previous:** [TextControl.FontUnderlineStyle Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/fontunderlinestyle-property/llms-full.txt)
- **Next:** [TextControl.FootnoteCreated Event](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-wpf/textcontrol/footnotecreated-event/llms-full.txt)
