title: How i can Focus UI Elements in Windows Store Apps?
body: <p>im creating an Windows Store App, and i want to focus the Textbox of my PopDialog.</p>
  
  <pre><code> GroupName = new TextBox();
   GroupName.Width = 400;
   GroupName.Height =35;
   GroupName.VerticalAlignment = VerticalAlignment.Center;
   GroupName.HorizontalAlignment = HorizontalAlignment.Left;
   GroupName.Focus(Windows.UI.Xaml.FocusState.Programmatic);
   Content.Children.Add(GroupName);
  </code></pre>
  
  <p>Also i need to focus the Button, so if the User pushes enter the Button gets activated.</p>
  
  <pre><code> Button create = new Button();
   create.Content = "Erstellen";
   create.Focus(FocusState.Pointer);
   create.Click += AddGroup;
   Btnpanel.Children.Add(create);
  </code></pre>