зеркало из https://github.com/DeGsoft/maui-linux.git
14 строки
467 B
C#
14 строки
467 B
C#
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);
|
|
}
|
|
}
|
|
} |