windowsforms-devexpress-dot-xtrabars-878cc392.md
Contains style settings used to customize items within popup menus and container items.
Namespace : DevExpress.XtraBars
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public class MenuAppearance :
BaseOwnerAppearance
Public Class MenuAppearance
Inherits BaseOwnerAppearance
The following members return MenuAppearance objects:
The MenuAppearance class provides properties to control the style settings of subitems, i.e. items displayed within popup menus (PopupMenu) and container items (BarCustomContainerItem descendants):
Use the PopupMenu.MenuAppearance object to customize styles for subitems within this particular popup menu. Similarly, the BarCustomContainerItem.MenuAppearance object allows you to access styles for subitems of the container item. If you need to provide common default styles for subitems within popup menus and container items, use the BarManagerAppearances.SubMenu property of the BarAndDockingController.AppearancesBar object.
The PopupMenu.MenuAppearance and BarCustomContainerItem.MenuAppearance settings, if used, will override the default BarManagerAppearances.SubMenu settings. XtraBars uses special flags to indicate that particular style properties were set and must be used for painting. These flags can be obtained via the AppearanceObject.Options object of each style property.
See Appearance and Look and Feel to learn more.
Object DevExpress.Utils.BaseOwnerAppearance MenuAppearance
See Also