title: InputBinding instead of PreviewKeyDown
body: <p>In the MainView of my Code, i had this event to catch keyDown:</p>
  
  <pre><code>#region Constructor
  PreviewKeyDown += SoftKeyMainPreviewKeyDown;
  #endregion
  
  private void SoftKeyMainPreviewKeyDown(object sender, KeyEventArgs e)
  {
          var focusedElement = Keyboard.FocusedElement;
          switch (e.Key)
          {
              case Key.Up:
                  DoSomething();
                  break;
              .....
          }
  }
  </code></pre>
  
  <p>Now I want to move that into InputBindings in the XAML.</p>
  
  <p>My First try:</p>
  
  <pre><code>&lt;UserControl.InputBindings&gt;
      &lt;KeyBinding Gesture="Up" Command="{Binding ElementName=_MaschinenView, Path=UpCommand}" /&gt;
      ....
  &lt;/UserControl.InputBindings&gt;
  </code></pre>
  
  <p>CodeBehind:</p>
  
  <pre><code>public ICommand UpCommand { get; set; }
  
  UpCommand = new SimpleCommand { ExecuteDelegate = delegate { MoveFocusInDirection(Keyboard.FocusedElement, new TraversalRequest(FocusNavigationDirection.Up)); } };
  </code></pre>
  
  <p>With this nothing happens. Most probably the KeyDown-Event is handled by an Child-Element.</p>
  
  <p>Is it posible to set previewkeydown in XAML in InputBindings? And how can this be achieved?</p>