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!

MenuCommand CommandChanged Event

Occurs when the menu command changes.

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

[Visual Basic]
Private Sub MenuCommandName_CommandChanged( _
   ByVal sender As Object, _
   ByVal e As EventArgs _
)
[C#]
private void MenuCommandName_CommandChanged(
   object sender,
   EventArgs e
);
[C++]
private: void MenuCommandName_CommandChanged(
   Object* sender,
   EventArgs* e
);
[JScript]
private MenuCommandName_CommandChanged(
   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

A command may change if it becomes checked or disabled.

See Also

MenuCommand Class | MenuCommand MembersTopic | System.ComponentModel.Design Namespace