title: Set focus on textbox in WPF
body: <p>How to set the focus on an <code>TextBox</code> element in WPF</p>
  
  <p>I have this code:</p>
  
  <pre><code>txtCompanyID.Focusable = true;
  txtCompanyID.Focus();
  </code></pre>
  
  <p>...but it is not working.</p>
  
  <p>Any idea?</p>