# TXDrawingControl.BackColor Property

> Gets or sets the TX Drawing Control's back color. The default value is System.Drawing.Transparent.

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

---

### Description

Gets or sets the [TX Drawing Control](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/txdrawingcontrol/llms-full.txt)'s back color. The default value is `System.Drawing.Transparent`.

### Syntax

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

```vbnet
Public Overrides Property BackColor As Color
```

### Examples

The following example uses `TXDrawingControl.BackColor` to set the txdrawing control's background color. The change is then applied to the active document or user interface.

```csharp
tXDrawingControl.BackColor = System.Drawing.Color.LightSteelBlue;
tXDrawingControl.Update();
```

```vbnet
tXDrawingControl.BackColor = System.Drawing.Color.LightSteelBlue
tXDrawingControl.Update()
```

### Limitations

A control's back color that differs to the default back color is only drawn if the control's [IsCanvasVisible](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/txdrawingcontrol/iscanvasvisible-property/llms-full.txt) property return true. Otherwise the default value is used.

---

## Nearby

- **Previous:** [TXDrawingControl.AdaptBounds Event](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/txdrawingcontrol/adaptbounds-event/llms-full.txt)
- **Next:** [TXDrawingControl.BorderColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-drawing/txdrawingcontrol/bordercolor-property/llms-full.txt)
