Initializes a new instance of the CommandBinding class by using the specified
ICommand and the specified Executed event handler.
Namespace:
C1.SilverlightAssembly: C1.Silverlight (in C1.Silverlight.dll)
Syntax
C# |
---|
public CommandBinding( ICommand command, ExecutedRoutedEventHandler executed ) |
Visual Basic |
---|
Public Sub New ( _ command As ICommand, _ executed As ExecutedRoutedEventHandler _ ) |
Parameters
- command
- Type: System.Windows.Input..::..ICommand
The command.
- executed
- Type: C1.Silverlight..::..ExecutedRoutedEventHandler
The handler for the Executed event on the new command.