Export (0) Print
Expand All

MenuItem Events

The MenuItem type exposes the following members.

  Name Description
Public event Click Occurs when the menu item is clicked or selected using a shortcut key or access key defined for the menu item.
Public event Disposed Occurs when the component is disposed by a call to the Dispose method. (Inherited from Component.)
Public event DrawItem Occurs when the OwnerDraw property of a menu item is set to true and a request is made to draw the menu item.
Public event MeasureItem Occurs when the menu needs to know the size of a menu item before drawing it.
Public event Popup Occurs before a menu item's list of menu items is displayed.
Public event Select Occurs when the user places the pointer over a menu item.
© 2015 Microsoft