Method InvokeCommand
InvokeCommand(Command, Key?, KeyBinding?)
Invokes the specified command.
public bool? InvokeCommand(Command command, Key? key = null, KeyBinding? keyBinding = null)
Parameters
command
CommandThe command to invoke.
key
KeyThe key that caused the command to be invoked, if any.
keyBinding
KeyBinding?