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

BarCustomContainerItem.MenuAppearance Property

Provides access to style settings for links owned by the current container item.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public virtual MenuAppearance MenuAppearance { get; }

#Property Value

Type Description
MenuAppearance

A MenuAppearance object providing style settings for links owned by the container item.

#Remarks

Use the MenuAppearance property to customize style settings for links owned by the container item. 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 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’s 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 the Look and Feel document for more information on style customization.

See Also