TabColor 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 a ribbon tab.
Syntax
public Color TabColor { get; set; }Public Property TabColor As ColorExamples
The following example uses Colors.TabColor to configure tab color as part of the colors workflow. The configured value is checked before the workflow continues.
colors.TabColor = System.Drawing.Color.LightSteelBlue;
Console.WriteLine($"Tab Color used by Colors: {colors.TabColor}");colors.TabColor = System.Drawing.Color.LightSteelBlue
Console.WriteLine($"Tab Color used by Colors: {colors.TabColor}")