BarCustomContainerItem.MenuDrawMode Property
Gets or sets the menu’s display mode.
Namespace: DevExpress.XtraBars
Assembly: DevExpress.XtraBars.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
[DefaultValue(MenuDrawMode.Default)]
public virtual MenuDrawMode MenuDrawMode { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Menu |
Default | A Menu |
Available values:
Name | Description |
---|---|
Default | A menu is painted according to its type. For Application |
Small |
Allows menu item captions and small images to be displayed. |
Large |
Allows menu item captions and large images to be displayed. |
Large |
Allows menu item captions, descriptions and large images to be displayed. |
#Remarks
The MenuDrawMode property is in effect when items that belong to the current BarCustomContainerItem object are displayed as a popup menu (or submenu). You can use this property to specify whether large or small images need to be used for menu items and whether to display menu item descriptions along with captions.