NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

MenuItem Select Event

Occurs when the user hovers their mouse over a menu item or selects it with the keyboard but has not activated it.

The following declaration shows the syntax for a method that handles the Select event.

[Visual Basic]
Private Sub MenuItemName_Select( _
   ByVal sender As Object, _
   ByVal e As EventArgs _
)
[C#]
private void MenuItemName_Select(
   object sender,
   EventArgs e
);
[C++]
private: void MenuItemName_Select(
   Object* sender,
   EventArgs* e
);
[JScript]
private MenuItemName_Select(
   sender : Object,
   e : EventArgs
);

Parameters

sender
The source of the event.
e
An EventArgs that contains the event data. The following EventArgs properties provide information specific to this event.
Property Description
ExtendedInfo
Holds a reference to an object that manages the event's state.

Remarks

You can use this event to display a help string pertaining to this menu item in an application's status bar.

See Also

MenuItem Class | MenuItem MembersTopic | System.WinForms Namespace