I want do define more advanced keyboard shortcuts like Ctrl+^, Ctrl+M
.
I have seen them in Visual Studio 2015 and thought, they would be great for my own applications, but I couldn't find a way to define such keyboard shortcuts in WPF and C#. I only know how to define "normal" shortcuts like Ctrl+S
:
InputGestures.Add( new KeyGesture( Key.S , ModifierKeys.Control ));
How can I create more advanced shortcuts like in Visual studio?