Intersoft ClientUI Documentation
OnCommandChanged(ICommand,ICommand) Method
See Also  Send Feedback
Intersoft.Client.UI.Aqua Namespace > UXMenuItem Class : OnCommandChanged(ICommand,ICommand) Method






oldCommand
The old command.
newCommand
The new command.
Invoked when the Command dependency property is changed.

Syntax

Visual Basic (Declaration) 
Protected Overridable Sub OnCommandChanged( _
   ByVal oldCommand As ICommand, _
   ByVal newCommand As ICommand _
) 
Visual Basic (Usage)Copy Code
Dim instance As UXMenuItem
Dim oldCommand As ICommand
Dim newCommand As ICommand
 
instance.OnCommandChanged(oldCommand, newCommand)
C# 
protected virtual void OnCommandChanged( 
   ICommand oldCommand,
   ICommand newCommand
)
Delphi 
protected procedure OnCommandChanged( 
    oldCommand: ICommand;
    newCommand: ICommand
); virtual; 
JScript 
protected function OnCommandChanged( 
   oldCommand : ICommand,
   newCommand : ICommand
);
Managed Extensions for C++ 
protected: virtual void OnCommandChanged( 
   ICommand* oldCommand,
   ICommand* newCommand
) 
C++/CLI 
protected:
virtual void OnCommandChanged( 
   ICommand^ oldCommand,
   ICommand^ newCommand
) 

Parameters

oldCommand
The old command.
newCommand
The new command.

Requirements

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

See Also

© 2012 All Rights Reserved.