Sets the text describing an input gesture that will call the command tied to the specified item.
Assembly: PresentationFramework (in PresentationFramework.dll)
This property does not associate the input gesture with the menu item; it simply adds text to the menu item. The application must handle the user's input to carry out the action. For information on how to associate a command with a menu item, see Command.
Legacy Code Example
The following examples show how to use theproperty to assign keyboard shortcuts text to menu items.Code snippet is not found. Confirm that the code snippet name 'MenuEvent' is correct.Code snippet is not found. Confirm that the code snippet name 'MenuEvent' is correct.
Available since 3.0