Constructor KeyBinding
KeyBinding(Command[], object?)
Initializes a new instance.
public KeyBinding(Command[] commands, object? context = null)
Parameters
commands
Command[]The commands this key binding will invoke.
context
objectArbitrary context that can be associated with this key binding.
KeyBinding(Command[], View?, object?)
Initializes a new instance.
public KeyBinding(Command[] commands, View? target, object? data = null)