Method UpdateShortcut
UpdateShortcut(CommandBindingCollection, string, KeyGesture)
Updates shortcut associated with a particular command.
public void UpdateShortcut(CommandBindingCollection bindings, string commandName, KeyGesture gesture)
Parameters
bindings
CommandBindingCollectionList of the command bindings to find a command.
commandName
stringName of the command o update.
gesture
KeyGestureNew input device gesture.