# TextControl.FontUnderlineStyle Property

> Gets or sets underlining style for the text displayed by the control. This property only determines the style. The Font property determines whether text is underlined or not.

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

---

### Description

Gets or sets underlining style for the text displayed by the control. This property only determines the style. The Font property determines whether text is underlined or not.

### Syntax

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

```vbnet
Public Property FontUnderlineStyle As FontUnderlineStyle
```

### Members

| Value | Description |
|---|---|
| None | Text is not underlined. |
| Single | Text is underlined with a single line. |
| Doubled | Text is underlined with a doubled line. |
| SingleWordsOnly | Only the words of the text are underlined with a single line. |
| DoubledWordsOnly | Only the words of the text are underlined with a doubled line. |

### Examples

The following example uses `TextControl.FontUnderlineStyle` to configure font underline style as part of the text control workflow. The change is then applied to the active document or user interface.

```csharp
textControl.FontUnderlineStyle = FontUnderlineStyle.DoubledWordsOnly;
textControl.Update();
```

```vbnet
textControl.FontUnderlineStyle = FontUnderlineStyle.DoubledWordsOnly
textControl.Update()
```

---

## Nearby

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