14 propertyChanged: (bindable, oldValue, newValue) =>
16 if (bindable is Entry Entry)
18 string TogglerEffectName = $
"{Constants.Effects.ResolutionGroupName}.{Constants.Effects.PasswordMaskTogglerEffect}";
19 if (!Entry.Effects.Any(Effect => Effect.ResolveId == TogglerEffectName))
21 Effect Effect = Effect.Resolve(TogglerEffectName);
22 Entry.Effects.Add(Effect);
38 public static void SetIsEnabled(BindableObject bindable,
bool value)
PasswordMask is a class which defines IsEnabled attached BindableProperty used to store the state of ...
static readonly BindableProperty IsEnabledProperty
Implements the attached property that indicates if the Entry password must be masked.
static bool GetIsEnabled(BindableObject bindable)
Gets the value indicating if the password associated with bindable must be masked.
static void SetIsEnabled(BindableObject bindable, bool value)
Sets the value indicating if the password associated with bindable must be masked.