blob: 4dcd71ec27b8894a93800ac55aca1fb7c1236cc4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
namespace Xamarin.Forms
{
static class TextElement
{
public static readonly BindableProperty TextColorProperty =
BindableProperty.Create("TextColor", typeof(Color), typeof(ITextElement), Color.Default,
propertyChanged: OnTextColorPropertyChanged);
static void OnTextColorPropertyChanged(BindableObject bindable, object oldValue, object newValue)
{
((ITextElement)bindable).OnTextColorPropertyChanged((Color)oldValue, (Color)newValue);
}
}
}
|