Back to Devexpress

PopupMenu.MenuAppearance Property

windowsforms-devexpress-dot-xtrabars-dot-popupmenu-f92f0c12.md

latest2.8 KB
Original Source

PopupMenu.MenuAppearance Property

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

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Appearance")]
[XtraSerializableProperty(XtraSerializationVisibility.Content)]
public virtual MenuAppearance MenuAppearance { get; }
vb
<DXCategory("Appearance")>
<XtraSerializableProperty(XtraSerializationVisibility.Content)>
Public Overridable ReadOnly Property MenuAppearance As MenuAppearance

Property Value

TypeDescription
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 sub-menu elements to be controlled.

The BarManagerAppearances.SubMenu property of a bar and dock controller 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.

See Look and Feel to learn more.

See Also

SubMenu

ItemInMenuAppearance

MenuBarWidth

PopupMenu Class

PopupMenu Members

DevExpress.XtraBars Namespace