Gets or sets the background color of a ribbon tab.


public Color TabColor { get; set; }
Public Property TabColor As Color


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;
Dim ribbonColors As TXTextControl.Windows.Forms.Ribbon.Ribbon.Colors = 
New TXTextControl.Windows.Forms.Ribbon.Ribbon.Colors()

ribbonColors.TabColor = System.Drawing.Color.White