ComponentOne Basic Library for WPF and Silverlight
CommandBinding Constructor(ICommand,ExecutedRoutedEventHandler)


C1.Silverlight Namespace > CommandBinding Class > CommandBinding Constructor : CommandBinding Constructor(ICommand,ExecutedRoutedEventHandler)
The command.
The handler for the Executed event on the new command.
Initializes a new instance of the CommandBinding class by using the specified System.Windows.Input.ICommand and the specified Executed event handler.
Syntax
'Declaration
 
Public Function New( _
   ByVal command As System.Windows.Input.ICommand, _
   ByVal executed As ExecutedRoutedEventHandler _
)
'Usage
 
Dim command As System.Windows.Input.ICommand
Dim executed As ExecutedRoutedEventHandler
 
Dim instance As New CommandBinding(command, executed)
public CommandBinding( 
   System.Windows.Input.ICommand command,
   ExecutedRoutedEventHandler executed
)

Parameters

command
The command.
executed
The handler for the Executed event on the new command.
See Also

Reference

CommandBinding Class
CommandBinding Members
Overload List