[C] fix BP DeclaringType in TextElement[C
authorStephane Delcroix <stephane@delcroix.org>
Tue, 21 Mar 2017 11:44:31 +0000 (12:44 +0100)
committerStephane Delcroix <stephane@delcroix.org>
Tue, 21 Mar 2017 11:44:58 +0000 (12:44 +0100)
Xamarin.Forms.Core/TextElement.cs

index d64024a..4dcd71e 100644 (file)
@@ -3,7 +3,7 @@ namespace Xamarin.Forms
        static class TextElement
        {
                public static readonly BindableProperty TextColorProperty =
-                       BindableProperty.Create("TextColor", typeof(Color), typeof(Button), Color.Default,
+                       BindableProperty.Create("TextColor", typeof(Color), typeof(ITextElement), Color.Default,
                                                                        propertyChanged: OnTextColorPropertyChanged);
 
                static void OnTextColorPropertyChanged(BindableObject bindable, object oldValue, object newValue)