Method Add
Add(Key, View?, params Command[])
Adds a new key combination that 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 Add(Key key, View? target, params Command[] commands)
Parameters
keyKeyThe key to check.
targetViewThe View the commands will be invoked on. If null, the key will be bound to Application.
commandsCommand[]The command to invoked on the
when keyis pressed. When multiple commands are provided,they will be applied in sequence. The boundkeystrike will be consumed if any took effect.