private void PinFour_TextChanged(object sender, TextChangedEventArgs e) { if (PinFour.Text.Length > 0) { PinFour.Focus(); } else { PinThree.Focus(); } }
private void PinFour_TextChanged(object sender, TextChangedEventArgs e) { if (PinFour.Text.Length > 0 && !string.IsNullOrEmpty(PinThree.Text) && !string.IsNullOrEmpty(PinTwo.Text) && !string.IsNullOrEmpty(PinOne.Text)) { pin += PinFour.Text; _loginPageViewModel.PinLogin(pin); PinFour.Focus(); } else { PinThree.Focus(); } }