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

MenuDrawMode Enum

Enumerates menu display modes.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public enum MenuDrawMode

#Members

Name Description
Default

A menu is painted according to its type.

For ApplicationMenu objects, the default draw mode is affected by the ApplicationMenu.ShowRightPane property. If the ApplicationMenu.ShowRightPane option is set to false, menu items are painted as in the MenuDrawMode.LargeImagesTextDescription mode. If the option is set to true, menu items are painted as in the MenuDrawMode.LargeImagesText draw mode.

SmallImagesText

Allows menu item captions and small images to be displayed.

MenuDrawMode_SmallImagesText

LargeImagesText

Allows menu item captions and large images to be displayed.

MenuDrawMode_LargeImagesText

LargeImagesTextDescription

Allows menu item captions, descriptions and large images to be displayed.

MenuDrawMode_LargeImagesTextDescription

#Related API Members

The following properties accept/return MenuDrawMode values:

#Remarks

The MenuDrawMode type enumerates popup menu display modes. You can choose between displaying large or small images within menu items. When using large images, it’s possible to display descriptions along with menu item captions.

To set menu display mode for popup menus and submenus use the PopupMenuBase.MenuDrawMode and BarCustomContainerItem.MenuDrawMode properties respectively.

See Also