From 755703f703956ac5082f74bfa0cc4c5b7f2a9c5a Mon Sep 17 00:00:00 2001 From: Steven Thewissen Date: Mon, 5 Oct 2020 08:28:55 +0200 Subject: [PATCH] No more IBorderElement --- .../Platforms/Shared/PancakeView.cs | 29 +------------------ 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/src/Xamarin.Forms.PancakeView.Multi/Platforms/Shared/PancakeView.cs b/src/Xamarin.Forms.PancakeView.Multi/Platforms/Shared/PancakeView.cs index 15c626f..de9475a 100644 --- a/src/Xamarin.Forms.PancakeView.Multi/Platforms/Shared/PancakeView.cs +++ b/src/Xamarin.Forms.PancakeView.Multi/Platforms/Shared/PancakeView.cs @@ -6,7 +6,7 @@ namespace Xamarin.Forms.PancakeView { - public class PancakeView : ContentView, IBorderElement + public class PancakeView : ContentView { public static readonly BindableProperty SidesProperty = BindableProperty.Create(nameof(Sides), typeof(int), typeof(PancakeView), defaultValue: 4); public static readonly BindableProperty OffsetAngleProperty = BindableProperty.Create(nameof(OffsetAngle), typeof(double), typeof(PancakeView), default(double)); @@ -132,8 +132,6 @@ public Point BackgroundGradientEndPoint set => SetValue(BackgroundGradientEndPointProperty, value); } - //public new IVisual Visual => VisualMarker.Default; - public PancakeView() { Visual = VisualMarker.Default; @@ -196,30 +194,5 @@ protected override void OnBindingContextChanged() SetInheritedBindingContext(item, BindingContext); } } - - public void OnBorderColorPropertyChanged(Color oldValue, Color newValue) - { - // Leave empty. Nothing to do here. - } - - public Color BorderColor => default(Color); - - int IBorderElement.CornerRadius => 0; - - public double BorderWidth => 0; - - public int CornerRadiusDefaultValue => 0; - - public Color BorderColorDefaultValue => default(Color); - - public double BorderWidthDefaultValue => 0; - - public bool IsCornerRadiusSet() => false; - - public bool IsBackgroundColorSet() => false; - - public bool IsBorderColorSet() => false; - - public bool IsBorderWidthSet() => false; } } \ No newline at end of file