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