Multiple key binding in WPF

Posted by nihi_l_ist on Stack Overflow See other posts from Stack Overflow or by nihi_l_ist
Published on 2010-05-14T12:48:38Z Indexed on 2010/05/14 12:54 UTC
Read the original article Hit count: 355

Filed under:
|
|
|
|

How can i execute some command on, lets say, Ctrl+Shift+E? As i saw we can write the following:

KeyBinding kb = new KeyBinding(TestCommand, Key.E, ModifierKeys.Control);
this.InputBindings.Add(kb);


But how can i add more ModifierKeys or Keys?

© Stack Overflow or respective owner

Related posts about keyboard

Related posts about .NET