title: WindowsFormsHost forces Focus
body: <p>I have a text-box like control being hosted in my WPF application by the WindowsFormsHost control. The windows forms control is ScintillaNET. But I suspect the problem isn't there (it was working fine in my old WinForms project).</p>
  
  <p>The problem is that when I have the text field focused and I try to focus another window, the window grabs focus immediately after.</p>
  
  <p>I have tracked this down to the text field being in focus by switching focus to another control (via click) and then switching windows.</p>
  
  <p>Is there any workaround for this? I am using MVVM so simply setting another control to be in focus in the code is not an option.</p>