Initializes a new instance of the CommandBinding class by using the specified ICommand and the specified Executed and CanExecute even handlers.

Namespace:  C1.Silverlight
Assembly:  C1.Silverlight (in C1.Silverlight.dll)

Syntax

C#
public CommandBinding(
	ICommand command,
	ExecutedRoutedEventHandler executed,
	CanExecuteRoutedEventHandler canExecute
)
Visual Basic
Public Sub New ( _
	command As ICommand, _
	executed As ExecutedRoutedEventHandler, _
	canExecute As CanExecuteRoutedEventHandler _
)

Parameters

command
Type: System.Windows.Input..::..ICommand
The command.
executed
Type: C1.Silverlight..::..ExecutedRoutedEventHandler
The handler for the Executed event on the new command.
canExecute
Type: C1.Silverlight..::..CanExecuteRoutedEventHandler
The handler for the CanExecute event on the new command.

See Also