MenuItem Events

MenuItem Events

 

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

NameDescription
System_CAPS_pubeventClick

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

System_CAPS_pubeventDisposed

Occurs when the component is disposed by a call to the Dispose method. (Inherited from Component.)

System_CAPS_pubeventDrawItem

Occurs when the OwnerDraw property of a menu item is set to true and a request is made to draw the menu item.

System_CAPS_pubeventMeasureItem

Occurs when the menu needs to know the size of a menu item before drawing it.

System_CAPS_pubeventPopup

Occurs before a menu item's list of menu items is displayed.

System_CAPS_pubeventSelect

Occurs when the user places the pointer over a menu item.

Return to top
Show:
© 2016 Microsoft