зеркало из https://github.com/DeGsoft/maui-linux.git
17 строки
520 B
C#
17 строки
520 B
C#
using Xamarin.Forms.Internals;
|
|
|
|
namespace Xamarin.Forms
|
|
{
|
|
static class LineHeightElement
|
|
{
|
|
public static readonly BindableProperty LineHeightProperty =
|
|
BindableProperty.Create(nameof(ILineHeightElement.LineHeight), typeof(double), typeof(ILineHeightElement), -1.0d,
|
|
propertyChanged: OnLineHeightChanged);
|
|
|
|
static void OnLineHeightChanged(BindableObject bindable, object oldValue, object newValue)
|
|
{
|
|
((ILineHeightElement)bindable).OnLineHeightChanged((double)oldValue, (double)newValue);
|
|
}
|
|
|
|
}
|
|
} |