Sample application below shows how to change the ColorScheme on context menus or other popup menus where parent is not on a bar.

In essence handle the DotNetBarManager.PopUpShowing event. In event handler cast the sender to PopupItem and check the name of it to make sure it is your context menu. Then access the PopupItem.PopupControl property and cast it to MenuPanel. Access and change the MenuPanel.ColorScheme property.

If you are using DotNetBar 6.0 or later simply set ContextMenuBar.ColorScheme property.

Sample application:
ContextMenuColorScheme

Related posts:

  1. How to Create Context Menus
  2. How to customize ColorPickerButton and ColorPickerDropDown colors
  3. Using same Context Menu on multiple controls
  4. DotNetBar 6.0 Upgrade Instructions
  5. How to access dockable bar AutoHidePanel