Method InvokeCommand | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
InvokeCommand(Command, Key, KeyBinding)
Invokes an Application-bound commmand.
public static bool? InvokeCommand(Command command, Key key, KeyBinding binding)
Parameters
command
Command
The Command to invoke
key
Key
The Application-bound Key that was pressed.
binding
KeyBinding
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.