# Ribbon.Colors.HighlightTabColor Property

> Gets or sets the highlight color of a ribbon tab which is used when a tab is selected.

- **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 > Ribbon.Colors.HighlightTabColor Property
- **323 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbon-colors/highlighttabcolor-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbon-colors/highlighttabcolor-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbon-colors/highlighttabcolor-property/llms-full.txt

---

### Description

Gets or sets the highlight color of a ribbon tab which is used when a tab is selected.

### Syntax

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

```vbnet
Public Property HighlightTabColor As Color
```

### Examples

The following example uses `Colors.HighlightTabColor` to configure highlight tab color as part of the colors workflow. The configured value is checked before the workflow continues.

```csharp
colors.HighlightTabColor = System.Drawing.Color.LightSteelBlue;
Console.WriteLine($"Highlight Tab Color used by Colors: {colors.HighlightTabColor}");
```

```vbnet
colors.HighlightTabColor = System.Drawing.Color.LightSteelBlue
Console.WriteLine($"Highlight Tab Color used by Colors: {colors.HighlightTabColor}")
```

---

## Nearby

- **Previous:** [Ribbon.Colors Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbon-colors/constructor/llms-full.txt)
- **Next:** [Ribbon.Colors.MenuColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbon-colors/menucolor-property/llms-full.txt)
