windowsforms-devexpress-dot-utils-dot-menu-dot-dxmenuitem-09358f4e.md
Occurs when the menu item’s functionality needs to be invoked.
Namespace : DevExpress.Utils.Menu
Assembly : DevExpress.Utils.v25.2.dll
NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core
public event EventHandler Click
Public Event Click As EventHandler
The Click event's data class is EventArgs.
This event occurs when
The following code snippets (auto-collected from DevExpress Examples) contain references to the Click event.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-pivot-change-summarydisplaytype-in-context-menu/CS/WindowsApplication34/Form1.cs#L44
DXMenuCheckItem item = new DXMenuCheckItem(str, curentSummaryDisplayType == str);
item.Click += new EventHandler(ItemClick);
item.Tag = e.Field;
DXMenuItem menuItem = CreateMenuItem(page);
menuItem.Click += new EventHandler(OnActiveFilesButtonMenuItemClick);
activeFilesPopupMenu.Items.Add(menuItem);
winforms-pivot-change-summarydisplaytype-in-context-menu/VB/WindowsApplication34/Form1.vb#L47
Dim item As New DXMenuCheckItem(str, curentSummaryDisplayType = str)
AddHandler item.Click, AddressOf ItemClick
item.Tag = e.Field
Dim menuItem As DXMenuItem = CreateMenuItem(page)
AddHandler menuItem.Click, New EventHandler(AddressOf OnActiveFilesButtonMenuItemClick)
activeFilesPopupMenu.Items.Add(menuItem)
See Also