This documentation is archived and is not being maintained.

MenuCommand.OnCommandChanged Method

Provides notification and is called in response to a CommandChanged event.

[Visual Basic]
Protected Overridable Sub OnCommandChanged( _
   ByVal e As EventArgs _
)
[C#]
protected virtual void OnCommandChanged(
 EventArgs e
);
[C++]
protected: virtual void OnCommandChanged(
 EventArgs* e
);
[JScript]
protected function OnCommandChanged(
   e : EventArgs
);

Parameters

e
An EventArgs that contains the event data.

Remarks

This method provides an opportunity to handle processing or display that occur when the command changes.

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: