This documentation is archived and is not being maintained.

MenuCommand.CommandChanged Event

Occurs when the menu command changes.

[Visual Basic]
Public Event CommandChanged As EventHandler
[C#]
public event EventHandler CommandChanged;
[C++]
public: __event EventHandler* CommandChanged;

[JScript] In JScript, you can handle the events defined by a class, but you cannot define your own.

Event Data

The event handler receives an argument of type EventArgs.

Remarks

A command can change if it becomes checked or disabled.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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

Show: