# ContextualTabGroup.BackColor Property

> Gets or sets the background color of the group's label.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 24.0
- **Namespace:** `TXTextControl.Windows.Forms.Ribbon`
- **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.Windows.Forms.Ribbon > ContextualTabGroup.BackColor Property
- **319 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/contextualtabgroup/backcolor-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/contextualtabgroup/backcolor-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/contextualtabgroup/backcolor-property/llms-full.txt

---

### Description

Gets or sets the background color of the group's label.

### Syntax

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

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

### Examples

The following example uses `ContextualTabGroup.BackColor` to set the contextual tab group's background color. The configured value is checked before the workflow continues.

```csharp
contextualTabGroup.BackColor = System.Drawing.Color.LightSteelBlue;
Console.WriteLine($"Back Color used by Contextual Tab Group: {contextualTabGroup.BackColor}");
```

```vbnet
contextualTabGroup.BackColor = System.Drawing.Color.LightSteelBlue
Console.WriteLine($"Back Color used by Contextual Tab Group: {contextualTabGroup.BackColor}")
```

---

## Nearby

- **Previous:** [ContextualTabGroup Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/contextualtabgroup/llms-full.txt)
- **Next:** [ContextualTabGroup Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/contextualtabgroup/constructor/llms-full.txt)
