All docs
V19.2
21.1
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
A newer version of this page is available. Switch to the current version.

SvgImagePopupMenuShowingEventArgs.Menu Property

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v19.2.dll

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