Category / Section
How to change the default colors of the main-menu, drop-down menus, toolbars in WinForms PopupMenu?
1 min read
Change the colors of mainmenu. Dropdownmenu and toolbars
The MenuColors class includes some static properties used to get a custom BG color for the different portions of the menus and toolbars. For example: MainMenuBackColor, CommandBarBackColor, and StatusBarBackColor. Please refer the below code snippet which illustrates this:
C#
MenuColors.CommandBarBackColor = Color.LightSteelBlue; MenuColors.MainMenuBackColor = Color.Blue; MenuColors.MenuBGColor = Color.SkyBlue; MenuColors.MenuLeftStripColor = Color.LightSlateGray;
VB
MenuColors.CommandBarBackColor = Color.LightSteelBlue MenuColors.MainMenuBackColor = Color.Blue MenuColors.MenuBGColor = Color.SkyBlue MenuColors.MenuLeftStripColor = Color.LightSlateGray