Method AddApp
AddApp(Key, View?, params Command[])
For Application-level HotKey Bindings (KeyBindings); Adds key
will trigger the commands in commands on the View
specified by target.
If the key is already bound to a different array of Commands it will be rebound
commands.
public void AddApp(Key key, View? target, params Command[] commands)
Parameters
keyKeyThe key to check.
targetViewFor Application-level HotKey Bindings; the view the key binding is bound to.
commandsCommand[]The command to invoked on the
when keyis pressed. When multiple commands are provided,they will be applied in sequence. The boundkeywill be consumed if any took effect.
- See Also