Articles in this section
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:


MenuColors.CommandBarBackColor = Color.LightSteelBlue;
MenuColors.MainMenuBackColor = Color.Blue;
MenuColors.MenuBGColor = Color.SkyBlue;
MenuColors.MenuLeftStripColor = Color.LightSlateGray;


MenuColors.CommandBarBackColor = Color.LightSteelBlue
MenuColors.MainMenuBackColor = Color.Blue
MenuColors.MenuBGColor = Color.SkyBlue
MenuColors.MenuLeftStripColor = Color.LightSlateGray


Did you find this information helpful?
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment