maui-linux/Xamarin.Forms.Core/IBorderElement.cs

24 строки
692 B
C#

using System.ComponentModel;
namespace Xamarin.Forms
{
[EditorBrowsable(EditorBrowsableState.Never)]
public interface IBorderElement
{
//note to implementor: implement this property publicly
Color BorderColor { get; }
int CornerRadius { get; }
Color BackgroundColor { get; }
double BorderWidth { get; }
//note to implementor: but implement the methods explicitly
void OnBorderColorPropertyChanged(Color oldValue, Color newValue);
bool IsCornerRadiusSet();
bool IsBackgroundColorSet();
bool IsBorderColorSet();
bool IsBorderWidthSet();
int CornerRadiusDefaultValue { get; }
Color BorderColorDefaultValue { get; }
double BorderWidthDefaultValue { get; }
}
}