title: How to select all text in textbox when it gets focus
body: <p>In Windows phone, how can I select all text in Textbox when the TextBox has focus?</p>
  
  <p>I try setting the get focus property of Textbox:</p>
  
  <pre><code>    private void TextBox_GotFocus(object sender, RoutedEventArgs e)
      {
          TextBox textBox = (TextBox)sender;
  
          textBox .SelectAll();
      }
  </code></pre>
  
  <p>What I see is I see all the text is being selected for 1-2 sec and then it goes back to cursor mode (i.e. 1 blink line).</p>