​
​
​

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

Syntax

​public System.Drawing.Color BackColor { get; set; }
​Public Property BackColor() As System.Drawing.Color

Examples

The following example shows the 'ContextualTabGroup' class and uses its 'BackColor' property by changing its value to 'White'.

​TXTextControl.Windows.Forms.Ribbon.ContextualTabGroup tabGroup = new TXTextControl.Windows.Forms.Ribbon.ContextualTabGroup();
    tabGroup.Name = "-------";
    tabGroup.BackColor = System.Drawing.Color.White;
​Dim tabGroup As TXTextControl.Windows.Forms.Ribbon.ContextualTabGroup = New TXTextControl.Windows.Forms.Ribbon.ContextualTabGroup()
   tabGroup.Name = "-------"
   tabGroup.BackColor = System.Drawing.Color.White
​