Exemplo n.º 1
0
 /// <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);
 }
Exemplo n.º 2
0
 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)
     });
 }
Exemplo n.º 4
0
 static void OnBlendColorPropertyChanged(BindableObject bindable, object oldValue, object newValue)
 {
     InternalExtension.InternalPropertyChanged(bindable, BlendColorProperty, () => (Color)newValue == Color.Default, new List <Type> {
         typeof(Image)
     });
 }