# TextControlSettings.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:** 23.0
- **Namespace:** `TXTextControl.Web.MVC`
- **Package:** `TXTextControl.Web` (assembly `TXTextControl.Web.DocumentEditor.dll`, from nuget.org, the private NuGet feed or Text Control Offline Packages)
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.Web.MVC > TextControlSettings.BackColor Property
- **369 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/backcolor-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/backcolor-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/backcolor-property/llms-full.txt

---

### Description

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

### Syntax

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

```vbnet
Public Property BackColor As 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:** [TextControlSettings.APIRoute Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/apiroute-property/llms-full.txt)
- **Next:** [TextControlSettings.ContextMenusEnabled Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/contextmenusenabled-property/llms-full.txt)
