Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

MenuAppearance.Menu Property

Contains style settings used to paint submenu items.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
public virtual AppearanceObject Menu { get; }

#Property Value

Type Description
AppearanceObject

A AppearanceObject object providing styles for submenu items.

#Remarks

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