title: How to bubble up keyboard events from winform hosted control
body: <p>I have an interop scenario where a winform textbox is hosted within a WPF window. I'm using the windows inputbindings in order to relay commands to backend components. This is working pretty well except for commands that use the arrow keys such as Up,Down,Left,Right. When these are ran they seem to get handled by the textbox and not getting bubbled up to the main window. Is there a way to manually bubble up the keyboard command or a setting on the textbox that I could set?</p>
  
  <p>To duplicate create a window with a windowformhost component and add an inputbinding. Other keygestures are handled but not any that use the arrow keys.</p>
  
  <pre><code>&lt;Window&gt;
      &lt;WindowsFormsHost x:Name="Tb"&gt;
  
      &lt;/WindowsFormsHost&gt;
  &lt;/Window&gt;
  
  public MainWindow()
      {
          InitializeComponent();
          this.InputBindings.Add(new InputBinding(new DelegateCommand(() =&gt;
          {
              var s = '0';
          }), new KeyGesture(Key.Up, ModifierKeys.Control)));
          Tb.Child = new TextBox();
  
      }
  </code></pre>
  
  <p>Thanks</p>