Constructor KeyBinding
KeyBinding(Command[], object?)
Initializes a new instance.
public KeyBinding(Command[] commands, object? context = null)
Parameters
commandsCommand[]The commands this key binding will invoke.
contextobjectArbitrary 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)