Skip to main content
A newer version of this page is available. .

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