TX Text Control .NET for Windows Forms

BackColor 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 the group's label.

Syntax

public Color BackColor { get; set; }

Examples

The following example uses ContextualTabGroup.BackColor to set the contextual tab group's background color. The configured value is checked before the workflow continues.

contextualTabGroup.BackColor = System.Drawing.Color.LightSteelBlue;
Console.WriteLine($"Back Color used by Contextual Tab Group: {contextualTabGroup.BackColor}");