Ejemplo n.º 1
0
        private async static void TextPropertyChanged(BindableObject bindable, object oldValue, object newValue)
        {
            PasswordEntryView passwordEntry = bindable as PasswordEntryView;

            if (passwordEntry.ShowStrengthIndicator)
            {
                await passwordEntry.UpdatePasswordStrengthIndicator((string)newValue);
            }
        }
Ejemplo n.º 2
0
        private static void AllowShowPasswordChanged(BindableObject bindable, object oldValue, object newValue)
        {
            PasswordEntryView passwordEntry = bindable as PasswordEntryView;

            if (passwordEntry != null)
            {
                passwordEntry.OnPropertyChanged("ShowPasswordColumnWidth");
            }
        }
Ejemplo n.º 3
0
        private static void ShowStrengthIndicatorPropertyChanged(BindableObject bindable, object oldValue, object newValue)
        {
            PasswordEntryView passwordEntry = bindable as PasswordEntryView;

            passwordEntry.OnPropertyChanged("StrengthIndicatorColWidth");
        }