# ServerTextControl.TextBackColor Property

> Gets or sets the background color for the text.

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

---

### Description

Gets or sets the background color for the text.

### Syntax

```csharp
public Color TextBackColor { get; set; }
```

```vbnet
Public Property TextBackColor As Color
```

### Examples

The following example uses `ServerTextControl.TextBackColor` to configure text back color as part of the server text control workflow. The configured value is checked before the workflow continues.

```csharp
textControl.TextBackColor = System.Drawing.Color.LightSteelBlue;
Console.WriteLine($"Text Back Color used by Server Text Control: {textControl.TextBackColor}");
```

```vbnet
textControl.TextBackColor = System.Drawing.Color.LightSteelBlue
Console.WriteLine($"Text Back Color used by Server Text Control: {textControl.TextBackColor}")
```

---

## Nearby

- **Previous:** [ServerTextControl.Text Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/servertextcontrol/text-property/llms-full.txt)
- **Next:** [ServerTextControl.TextChars Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/servertextcontrol/textchars-property/llms-full.txt)
