Skip to main content

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

SvgImagePopupMenuShowingEventArgs.Menu Property

Gets or sets the popup menu that is about to be displayed

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

#Declaration

public DXPopupMenu Menu { get; set; }

#Property Value

Type Description
DXPopupMenu

Gets or sets the popup menu that is about to be displayed

#Remarks

The context menu is initially empty and thus it’s not displayed unless you add commands to it.

Use the Menu.Items property to add custom commands to the popup menu. The following list shows the supported menu items:

Use these objects’ settings to change item captions, images, visibility, enabled state, etc.

When you create a custom menu item, use the item’s DXMenuItem.Tag property to store any custom data. For instance, you can use this property to store a menu item’s ID. These IDs allow you to identify menu items while handling the DXMenuItem.Click event.

See Also