开发者

Multiple Key Gestures for custom keyboard shortcuts in WPF

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜