0
        KeyBinding KeyBinding = new KeyBinding(
        ApplicationCommands.Open,
        Key.R,
        ModifierKeys.Control);

        this.InputBindings.Add(KeyBinding);

This is all i got till now for my Shortcut. I am new to C# WPF .

  • 1
    There are no implemented commands like `ApplicationCommands.Open` in framework to minimize/maximize the window. You have to implement your own. – Rekshino Sep 23 '21 at 10:00
  • 4
    Windows natively supports Winodws + Arrow Down and Alt + Tab to get back in. This is not WPF specific. – Denis Schaf Sep 23 '21 at 11:10
  • This might help: https://stackoverflow.com/questions/48935/how-can-i-register-a-global-hot-key-to-say-ctrlshiftletter-using-wpf-and-ne – Keith Stein Sep 25 '21 at 02:01

0 Answers0