Back to Devexpress

SvgImagePopupMenuShowingEventArgs.Menu Property

windowsforms-devexpress-dot-xtraeditors-dot-svgimagepopupmenushowingeventargs-9be08c49.md

latest2.2 KB
Original Source

SvgImagePopupMenuShowingEventArgs.Menu Property

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

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.Utils.v25.2.dll

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

Declaration

csharp
public DXPopupMenu Menu { get; set; }
vb
Public Property Menu As DXPopupMenu

Property Value

TypeDescription
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

SvgImagePopupMenuShowingEventArgs Class

SvgImagePopupMenuShowingEventArgs Members

DevExpress.XtraEditors Namespace