title: Lose Textbox Focus
body: <p>In my Windows Phone 7 Application I've written a bit of code to make the focus jump to the next textbox on the return key bein pressed. This all works fine, but now what I want to do is get the software keyboard out of the way if the user pressed return on the final textbox. However there is no UnFocus() method. What should I do instead? :)</p>
  
  <p>I thought about Focusing something else (e.g. The PhoneApplicationPage) but this doesnt have a Focus() method.</p>
  
  <pre><code>        public List&lt;TextBox&gt; Textboxes = new List&lt;TextBox&gt; { };
  
      public void CheckForReturn(object sender, KeyEventArgs e)
      {
          TextBox ThisTextbox = sender as TextBox;
          if (e.Key == Key.Enter)
          {
              int ThisTextboxListPosition = Textboxes.IndexOf(ThisTextbox);
              int NextTextboxListPosition = ThisTextboxListPosition + 1;
  
              if (NextTextboxListPosition &lt; Textboxes.Count)
              {
                  TextBox NextTextBox = Textboxes[NextTextboxListPosition];
                  NextTextBox.Focus();
              }
              else
              {
                  //Something like this!
                  //ThisTextbox.Unfocus();
              }
          }
      }
  </code></pre>