Intersoft ClientUI Documentation
OnCommandChanged(ICommand,ICommand) Method



The old command.
The new command.
Invoked when the Command dependency property is changed.
Syntax
Protected Overridable Sub OnCommandChanged( _
   ByVal oldCommand As ICommand, _
   ByVal newCommand As ICommand _
) 
Dim instance As UXRibbonGalleryItem
Dim oldCommand As ICommand
Dim newCommand As ICommand
 
instance.OnCommandChanged(oldCommand, newCommand)
protected virtual void OnCommandChanged( 
   ICommand oldCommand,
   ICommand newCommand
)
protected:
virtual void OnCommandChanged( 
   ICommand^ oldCommand,
   ICommand^ newCommand
) 

Parameters

oldCommand
The old command.
newCommand
The new command.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

UXRibbonGalleryItem Class
UXRibbonGalleryItem Members

Send Feedback