Skip to main content
A newer version of this page is available. .
Bar

PopupMenu.MenuAppearance Property

Provides access to style settings for links owned by the popup menu.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

[DXCategory("Appearance")]
[XtraSerializableProperty(XtraSerializationVisibility.Content)]
public virtual MenuAppearance MenuAppearance { get; }

Property Value

Type Description
MenuAppearance

A MenuAppearance object providing style settings for links owned by the popup menu.

Remarks

Use the MenuAppearance property to customize style settings for links owned by the popup menu. The MenuAppearance object provides a number of properties that allow the styles of various submenu elements to be controlled.

The BarManagerAppearances.SubMenu property of a Bar and Docking Controllers (Customizing Default View and Behavior Settings) gives you centralized control over style settings for links displayed as subitems. Use this property instead of MenuAppearance if you need to provide common default style settings for all subitems (items of popup menus and container bar items). The MenuAppearance property, if used, overrides the BarManagerAppearances.SubMenu property settings.

You can also customize appearance settings for individual bar items when they are displayed within popup menus. This can be accomplished via the BarItem.ItemInMenuAppearance property.

Note: Specific style settings are not in effect for all paint schemes (see the BarAndDockingController.PaintStyleName property). For instance, the MenuAppearance.SideStrip property settings are not applied in WindowsXP and Office200 schemes.

See Appearance and Look and Feel to learn more.

See Also