private void password_KeyUp(object sender, System.Windows.Input.KeyEventArgs e) { if (e.Key == Key.Enter) { this.Focus(); } }
private void password_KeyUp(object sender, System.Windows.Input.KeyEventArgs e) { if (e.Key == Key.Enter) { //you can set focus of non textbox control like button, lable or other } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)