Initializes a new instance of the CommandBinding class by using the specified
ICommand and the specified Executed event handler.
Namespace:
C1.PhoneAssembly: C1.Phone (in C1.Phone.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.Phone..::..ExecutedRoutedEventHandler
The handler for the Executed event on the new command.