问题
Does anyone know if it's possible to have key combinations for keyboard shortcuts in WPF?
Right now if I want to use CTRL + S as a shortcut I can do the following:
InputGestures.Add( new KeyGesture( Key.S , ModifierKeys.Control ));
But if I want to use CTRL + S , D ... I don't have an overload that takes the D. Is there a way to override this an accept combinations?
来源:https://stackoverflow.com/questions/2194714/multiple-key-gestures-for-custom-keyboard-shortcuts-in-wpf