# TextControl.BackColor Property

> Specifies or returns the background color of the main text area and the ruler bars.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 22.0
- **Namespace:** `TXTextControl.Web`
- **Assembly:** `TXTextControl.Web.dll`, which the TX Text Control .NET Server setup installs, for .NET Framework; in no NuGet package
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.Web > TextControl.BackColor Property
- **396 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web/textcontrol/backcolor-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web/textcontrol/backcolor-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web/textcontrol/backcolor-property/llms-full.txt

---

### Description

Specifies or returns the background color of the main text area and the ruler bars.

### Syntax

```csharp
public System.Drawing.Color Backcolor { get; set; }
```

```vbnet
Public Property BackColor() As System.Drawing.Color
```

### Examples

In the current ASP.NET Core integration, `BackColor` is configured through `TextControlSettings`. The following example sets it while creating the editor configuration.

```csharp
textControlSettings.BackColor = default(System.Drawing.Color);
var configuredValue = textControlSettings.BackColor;
Console.WriteLine($"Back Color used by Text Control Settings: {configuredValue}");
```

```vbnet
textControlSettings.BackColor = Nothing
Dim configuredValue = textControlSettings.BackColor
Console.WriteLine($"Back Color used by Text Control Settings: {configuredValue}")
```

---

## Nearby

- **Previous:** [TextControl Class](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web/textcontrol/llms-full.txt)
- **Next:** [TextControl Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web/textcontrol/constructor/llms-full.txt)
