Intersoft ClientUI Documentation
CommandBinding Constructor(ICommand,ExecutedRoutedEventHandler)
See Also  Send Feedback
Intersoft.Client.Framework.Input Namespace > CommandBinding Class > CommandBinding Constructor : CommandBinding Constructor(ICommand,ExecutedRoutedEventHandler)






command
executed
Initializes a new instance of the CommandBinding class by using the specified ICommand and the specified Executed event handler.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal command As ICommand, _
   ByVal executed As ExecutedRoutedEventHandler _
)
Visual Basic (Usage)Copy Code
Dim command As ICommand
Dim executed As ExecutedRoutedEventHandler
 
Dim instance As New CommandBinding(command, executed)
C# 
public CommandBinding( 
   ICommand command,
   ExecutedRoutedEventHandler executed
)
Delphi 
public CommandBinding( 
    command: ICommand;
    executed: ExecutedRoutedEventHandler
); 
JScript 
public function CommandBinding( 
   command : ICommand,
   executed : ExecutedRoutedEventHandler
);
Managed Extensions for C++ 
public: CommandBinding( 
   ICommand* command,
   ExecutedRoutedEventHandler* executed
)
C++/CLI 
public:
CommandBinding( 
   ICommand^ command,
   ExecutedRoutedEventHandler^ executed
)

Parameters

command
executed

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.