System.Windows.Forms.MenuItem.Select Event

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

Syntax

public event EventHandler Select

Remarks

This event is typically raised when the user places the mouse pointer over the menu item. The event can also be raised when the user highlights a menu item using the keyboard by scrolling to the menu item with the arrow keys. You can use this event to display a detailed help string pertaining to this menu item in an application's status bar. For more information about handling events, see Consuming Events.

Note:

If the Menu.MenuItems property for the System.Windows.Forms.MenuItem contains any items, this event is not raised. This event is not raised for parent menu items.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0