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 |
---|---|
Appearance |
A Appearance |
#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 |
---|---|---|---|---|
Back |
+ | + | + | + |
Back |
+ | + | + | - |
Image | + | + | + | + |
Font and Fore |
+ | + | + | + |
The BorderColor property is ignored in all painting schemes.