TXTextControl.Windows.Forms.Ribbon.Ribbon.Colors Class

The Ribbon.Colors class gets, sets or resets the display colors of a Windows Forms Ribbon control. By default the display colors depend on sytem colors. With this class all colors can be individually designed.

Introduced: 24.0.

Syntax

[C#]
public class Ribbon.Colors
[Visual Basic]
Public Class Ribbon.Colors

Constructors

Constructor Description
Colors Initializes a new instance of the Ribbon.Colors class.

Properties

Property Description
ApplicationMenuColor Gets or sets the background color of a ribbon's application menu.
ApplicationMenuTabColor Gets or sets the color of a ribbon's first tab, which opens the application menu.
ApplicationMenuTabHighlightColor Gets or sets the highlight color of a ribbon's first tab which is used, when the mouse pointer is moved over it.
HighlightTabColor Gets or sets the highlight color of a ribbon tab which is used when a tab is selected.
MenuColor Gets or sets the menu color of a ribbon.
TabColor Gets or sets the background color of a ribbon tab.

Methods

Method Description
ResetApplicationMenuColor Resets the ribbon's ApplicationMenuColor to its system dependent default value.
ResetApplicationMenuTabColor Resets the ribbon's ApplicationMenuTabColor to its system dependent default value.
ResetApplicationMenuTabHighlightColor Resets the ribbon's ApplicationMenuTabHighlightColor to its system dependent default value.
ResetHighlightTabColor Resets the ribbon's HighlightTabColor to its system dependent default value.
ResetMenuColor Resets the ribbon's MenuColor to its system dependent default value.
ResetTabColor Resets the ribbon's TabColor to its system dependent default value.

See Also