Skip to main content

MenuAppearance.Menu Property

Contains style settings used to paint submenu items.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation


public virtual AppearanceObject Menu { get; }

Property Value

Type Description

A AppearanceObject object providing styles for submenu items.


Use the Menu property to specify appearance attributes for submenu items. You can specify background and foreground colors, font settings, gradient mode and background image. For a background image to be visible, use translucent background colors.

For WindowsXP, Office2000, Flat and UltraFlat paint schemes, the appearance settings of subitems not recently used are determined by the MenuAppearance.SideStripNonRecent property. If style settings were not set via MenuAppearance.SideStripNonRecent, these subitems will be painted using system settings. See the BarAndDockingController.LookAndFeel property to specify a paint scheme for bars.

The following table summarizes which appearance options provided by the Menu object are in effect in various painting schemes:

Appearance Option Office 2000 Office 2003 Windows XP Skinning Painting Scheme
BackColor + + + +
BackColor2 and GradientMode + + + -
Image + + + +
Font and ForeColor + + + +

The BorderColor property is ignored in all painting schemes.

See Also