Beispiel #1
0
 private void TextBoxName_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.Key == Key.Enter)
     {
         TextBoxName.MoveFocus(new TraversalRequest(FocusNavigationDirection.Next));
         Keyboard.ClearFocus();
     }
 }