Method InvokeCommand
InvokeCommand(Command, Key, KeyBinding)
Invokes an Application-bound command.
bool? InvokeCommand(Command command, Key key, KeyBinding binding)Parameters
- commandCommand
- The Command to invoke 
- keyKey
- The Application-bound Key that was pressed. 
- bindingKeyBinding
- Describes the binding. 
Returns
- bool?
- null if no command was found; input processing should continue. false if the command was invoked and was not handled (or cancelled); input processing should continue. true if the command was invoked the command was handled (or cancelled); input processing should stop.