Gets or sets the background color of a ribbon tab.

Syntax

public Color TabColor { get; set; }

Examples

The following example shows a Ribbon.Colors class. The class uses its TabColor property and sets the value of the property to White.

TXTextControl.Windows.Forms.Ribbon.Ribbon.Colors ribbonColors =  
new TXTextControl.Windows.Forms.Ribbon.Ribbon.Colors();

ribbonColors.TabColor = System.Drawing.Color.White;