Skip to main content

MenuAppearance.MenuBar Property

Contains style settings to paint menu bars.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation


public virtual AppearanceObject MenuBar { get; }

Property Value

Type Description

A AppearanceObject object providing styles for painting menu bars.


The menu bar is a vertical bar displayed across all items within a container item. It is designed to draw custom information. To make the bar visible, set the MenuBarWidth property provided by PopupMenu and BarCustomContainerItem objects to a value greater than 0.

Use the MenuBar property to specify appearance attributes for a menu bar. You can specify background colors, gradient mode and background image. For a background image to be visible, use translucent background colors.


It is possible to paint menu bars via the PaintMenuBar event. See the PopupMenu.PaintMenuBar and BarCustomContainerItem.PaintMenuBar topics for more information. If you handle the PaintMenuBar event but set its BarCustomDrawEventArgs.Handled parameter to false, the menu bar will be painted using the MenuBar settings.

See Also