Skip to main content

SvgImagePopupMenuShowingEventArgs.Menu Property

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

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.Utils.v24.1.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