Category / Section
How to disable the standard highlight color of MenuButton in WinForms RibbonControlAdv?
1 min read
Disable the standard highlight color of menubutton
In RibbonControlAdv, it can be possible to changes the Default color of Menu. This can be achieved using two properties named UseDefaultHighlightColor to disable its default color and MenuColor to set desired color.
C#
//To set Color to the Ribbon control this.ribbonControlAdv1.MenuColor = Color.Red; //To disables the Default color this.ribbonControlAdv1.UseDefaultHighlightColor = false;
VB
'To set Color to the Ribbon control Me.ribbonControlAdv1.MenuColor = Color.Red 'To disables the Default color Me.ribbonControlAdv1.UseDefaultHighlightColor = False
Figure 1. Menu colour changes in RibbonControlAdv with Image.
Samples: