TX Text Control .NET for Windows Forms

HighlightTabColor 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 highlight color of a ribbon tab which is used when a tab is selected.

Syntax

public Color HighlightTabColor { get; set; }

Examples

The following example uses Colors.HighlightTabColor to configure highlight tab color as part of the colors workflow. The configured value is checked before the workflow continues.

colors.HighlightTabColor = System.Drawing.Color.LightSteelBlue;
Console.WriteLine($"Highlight Tab Color used by Colors: {colors.HighlightTabColor}");