private void AssociatedObjectOnKeyUp(object sender, KeyRoutedEventArgs keyRoutedEventArgs) { if (_associatedObject.Password.Length == _associatedObject.MaxLength && !IsSystemKey(keyRoutedEventArgs.Key)) { _associatedObject.MoveFocusForward(); } }
private void AssociatedObjectOnKeyUp(object sender, KeyRoutedEventArgs keyRoutedEventArgs) { if (_associatedObject.Password.Length == _associatedObject.MaxLength && !IsSystemKey(keyRoutedEventArgs.Key)) { _associatedObject.MoveFocusForward(); } }