5

The way to bind CTRL + S is

new KeyBinding( SaveCommand, Key.S, ModifierKeys.Control )

for CTRL +Shift + S is

new KeyBinding( SaveCommand, Key.S, ModifierKeys.Control | ModifierKeys.Shift)

But, how about CTRL +H + S?? Any suggestions?

maskalek
  • 453
  • 5
  • 18
  • 1
    I don't think that you can do that and definitely not using the `KeyBinding` constructor. In fact, I've never seen a keyboard shortcut like that in any program, so I doubt that it's possible... interested to find out otherwise though. – Sheridan Oct 03 '14 at 07:57
  • visual studio opens "solution explorer" on ctrl+w+s – maskalek Oct 03 '14 at 08:04
  • 2
    No it doesn't... it opens that using Ctrl+W, S which is something very different. That is Ctrl+W and then S. – Sheridan Oct 03 '14 at 08:13
  • And to do so: `` – Natxo Oct 03 '14 at 08:33

0 Answers0