BackColor Property
- Namespace
TXTextControl.Windows. Forms. Ribbon
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Gets or sets the background color of the group's label.
Syntax
public Color BackColor { get; set; }Public Property BackColor As ColorExamples
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}");contextualTabGroup.BackColor = System.Drawing.Color.LightSteelBlue
Console.WriteLine($"Back Color used by Contextual Tab Group: {contextualTabGroup.BackColor}")