зеркало из https://github.com/DeGsoft/maui-linux.git
14 строки
486 B
C#
14 строки
486 B
C#
namespace Xamarin.Forms
|
|
{
|
|
static class TextElement
|
|
{
|
|
public static readonly BindableProperty TextColorProperty =
|
|
BindableProperty.Create(nameof(ITextElement.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);
|
|
}
|
|
}
|
|
} |