xtd 0.2.0
Loading...
Searching...
No Matches

◆ click

event<menu_item, event_handler> xtd::forms::menu_item::click

Occurs when the menu item is clicked or selected using a shortcut key or access key defined for the menu item.

Remarks
The xtd::forms::menu_item::click event occurs when this xtd::forms::menu_item is clicked by the user. This event also occurs if the user selects the menu item using the keyboard and presses the Enter key. It can also occur if an access key or shortcut key is pressed that is associated with the xtd::forms::menu_item.
For more information about handling events, see Handling and Raising Events.