I have the following code to move to the next control if the return is entered
private void TextBox_PreviewKeyUp(object sender, KeyEventArgs e)
{
if (e.Key == Key.Return)
{
e.Handled = true;
((TextBox)sender).MoveFocus(new TraversalRequest(FocusNavigationDirection.Next));
}
}
first test
second test
third test