Skip to main content
Bar

PopupMenuBase.ItemsDisplayMode Property

Gets or sets the display mode of menu items. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public PopupMenuItemsDisplayMode ItemsDisplayMode { get; set; }

Property Value

Type Description
PopupMenuItemsDisplayMode

A PopupMenuItemsDisplayMode value that specifies the display mode of menu items.

Available values:

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 LargeImagesTextDescription mode. If the option is set to true, menu items are painted as in the LargeImagesText draw mode.

SmallImagesText

Allows menu item captions and small images to be displayed.

LargeImagesText

Allows menu item captions and large images to be displayed.

LargeImagesTextDescription

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

Remarks

Use the ItemsDisplayMode property to specify how menu items are represented within a popup menu. You can specify whether large or small images need to be used, and whether to display menu item descriptions along with captions.

See Also