title: Capture Ctrl+V anywhere on WPF Window
body: <p>I am trying to implement paste functionality in my application, which means a user can copy a number of files selecting from Windows Explorer and then paste it to the application using <kbd>CTRL</kbd> + <kbd>C</kbd> and <kbd>CTRL</kbd> + <kbd>V</kbd>. </p>
  
  <p>The problem is <kbd>CTRL</kbd> + <kbd>V</kbd> only works on focused control. The code I used is:</p>
  
  <pre><code>&lt;UserControl.InputBindings&gt;
      &lt;KeyBinding Modifiers="Control"
                  Key="V"
                  Command="{Binding PasteFilesCommand}" /&gt;
  &lt;/UserControl.InputBindings&gt;
  </code></pre>
  
  <p>My application is following the MVVM model. How can I capture a <kbd>Ctrl</kbd>+<kbd>V</kbd> event when focus is on any control of the application window?</p>