​
​
​

Gets or sets the menu color of a ribbon.

Syntax

​public Color MenuColor { get; set; }
​Public Property MenuColor As Color

Examples

The following example shows a Ribbon.Colors class. The class uses its MenuColor property and sets the value of the property to White.

​TXTextControl.Windows.Forms.Ribbon.Ribbon.Colors ribbonColors =  
new TXTextControl.Windows.Forms.Ribbon.Ribbon.Colors();

ribbonColors.MenuColor = System.Drawing.Color.White;
​Dim ribbonColors As TXTextControl.Windows.Forms.Ribbon.Ribbon.Colors = 
New TXTextControl.Windows.Forms.Ribbon.Ribbon.Colors()

ribbonColors.MenuColor = System.Drawing.Color.White
​