Method SetDefaultKeyBinding
SetDefaultKeyBinding(Command, PlatformKeyBinding)
Sets (or replaces) the key binding for a single command in DefaultKeyBindings
and raises DefaultKeyBindingsChanged so that subscribers (e.g. ApplicationKeyboard)
pick up the change immediately.
public static void SetDefaultKeyBinding(Command command, PlatformKeyBinding binding)
Parameters
commandCommandThe command whose binding should be set.
bindingPlatformKeyBindingThe platform key binding to associate with
command.