DXMenuItem.Click Event
In This Article
Occurs when the menu item’s functionality needs to be invoked.
Namespace: DevExpress.Utils.Menu
Assembly: DevExpress.Utils.v24.2.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
#Declaration
public event EventHandler Click
#Event Data
The Click event's data class is EventArgs.
#Remarks
This event occurs when
- clicking a menu item by the mouse;
- selecting a menu item using the arrow keys and then pressing the ENTER key;
- pressing the shortcut which is specified using the ‘&’ character in the DXMenuItem.Caption property.
#Related GitHub Examples
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.
See Also