private async static void TextPropertyChanged(BindableObject bindable, object oldValue, object newValue) { PasswordEntryView passwordEntry = bindable as PasswordEntryView; if (passwordEntry.ShowStrengthIndicator) { await passwordEntry.UpdatePasswordStrengthIndicator((string)newValue); } }
private static void AllowShowPasswordChanged(BindableObject bindable, object oldValue, object newValue) { PasswordEntryView passwordEntry = bindable as PasswordEntryView; if (passwordEntry != null) { passwordEntry.OnPropertyChanged("ShowPasswordColumnWidth"); } }
private static void ShowStrengthIndicatorPropertyChanged(BindableObject bindable, object oldValue, object newValue) { PasswordEntryView passwordEntry = bindable as PasswordEntryView; passwordEntry.OnPropertyChanged("StrengthIndicatorColWidth"); }