Hi folks,
I've got a BindableProperty in my custom control that has properties that successfully cause OnElementPropertyChanged when I change them in a form or code-behind file. But the ones that are of type Color (as below), don't cause the OnElementPropertyChanged to get called for that specific Color property (I'm using Fody.PropertyChanged)...
public static readonly BindableProperty ProgressColorProperty =
BindableProperty.Create<CoreProgress, Color>(
p => p.ProgressColor, new Color(1.0,0.0,0.0,1.0)); // red default
public Color ProgressColor
{
get { return (Color)GetValue(ProgressColorProperty); }
set { SetValue(ProgressColorProperty, value); }
}
What am I missing?
Thanks!
Mike