Basic Library for WPF and Silverlight | ComponentOne
C1.Silverlight Namespace / CommandBinding Class / CommandBinding Constructor / CommandBinding Constructor(ICommand,ExecutedRoutedEventHandler,CanExecuteRoutedEventHandler)
The command.
The handler for the Executed event on the new command.
The handler for the CanExecute event on the new command.

In This Topic
    CommandBinding Constructor(ICommand,ExecutedRoutedEventHandler,CanExecuteRoutedEventHandler)
    In This Topic
    Initializes a new instance of the CommandBinding class by using the specified System.Windows.Input.ICommand and the specified Executed and CanExecute even handlers.
    Syntax

    Parameters

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