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

◆ perform_click()

void xtd::forms::menu_item::perform_click ( )

Generates a xtd::forms::menu_item::click event for the xtd::forms::menu_item, simulating a click by a user.

Remarks
You can use this menu to activate a menu item through code without passing any event information. For example, if you want to activate a menu item based on an action that occurs in your application, you can call the xtd::forms::menu_item::perform_click method for that xtd::forms::menu_item.