title: How do you prevent the VS Shell from getting priority on key/command bindings in a VSPackage ToolWindow?
body: <p>I have wpf a user control that accepts input gestures to perform various commands.  In the example image below, the user can press <kbd>Ctrl+N</kbd> to execute the <code>New</code> command to create a new item in the <code>TreeView</code>.</p>
  
  <p><img src="https://i.stack.imgur.com/PV77t.jpg" alt="enter image description here"></p>
  
  <p>When this user control is hosted within a WPF application, the user can create a new item using <kbd>Ctrl+N</kbd> when the focus is on the <code>TreeView</code>, and when the user presses <kbd>Ctrl+N</kbd> when the focus is elsewhere in the application, the application level <code>New</code> command is executed.</p>
  
  <p>When this user control is hosted within a VSPackage ToolWindow, the VS Shell level <code>New</code> command to create a new file is executed when the user presses <kbd>Ctrl+N</kbd>, regardless of focus on the <code>TreeView</code>.</p>
  
  <p>How do you prevent the VS Shell from getting priority on key/command bindings?</p>