/// <summary> /// Invoked when FontWeight value has been changed /// </summary> /// <param name="bindable">BindableObject</param> /// <param name="oldValue">old FontWeight value</param> /// <param name="newValue">new FontWeight value</param> static void OnFontWeightChanged(BindableObject bindable, object oldValue, object newValue) { InternalExtension.InternalPropertyChanged(bindable, FontWeightProperty, () => (FontWeight)newValue == FontWeight.Default, SupportedTypes); }
static void OnThemeStylePropertyChanged(BindableObject bindable, object oldValue, object newValue) { InternalExtension.InternalPropertyChanged(bindable, ThemeStyleProperty, () => (string)newValue == string.Empty); }
static void OnPulsingStatusPropertyChanged(BindableObject bindable, object oldValue, object newValue) { InternalExtension.InternalPropertyChanged(bindable, PulsingStatusProperty, () => (bool)newValue == false, new List <Type> { typeof(ProgressBar) }); }
static void OnBlendColorPropertyChanged(BindableObject bindable, object oldValue, object newValue) { InternalExtension.InternalPropertyChanged(bindable, BlendColorProperty, () => (Color)newValue == Color.Default, new List <Type> { typeof(Image) }); }