title: WPF shortcut in whole window
body: <p>I'm developing MVVM application and I'd like to create global shortcuts for my application. It's necessary to navigatate application between modules. I have main window with code:</p>
  
  <pre><code>&lt;UserControl.InputBindings&gt;
      &lt;KeyBinding Command="{Binding ChangeModuleComand}"
                      Key="M"
                      Modifiers="Control"/&gt;
  &lt;/UserControl.InputBindings&gt;
  </code></pre>
  
  <p>It works when I have focus on my window,</p>
  
  <p>But there is a problem when i have focus on TextBox in that UserControl (Command is not fired).</p>
  
  <p>Is that possible to catch that key pressure without lots of modifications in whole application?</p>
  
  <p>A.</p>