TX Text Control .NET for Windows Forms

TabColor Property

Property|Introduced in 24.0
Namespace
TXTextControl.Windows.Forms.Ribbon
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets the background color of a ribbon tab.

Syntax

public Color TabColor { get; set; }

Examples

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

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