diff --git a/Xamarin.Forms.Platform.UAP/FormsButton.cs b/Xamarin.Forms.Platform.UAP/FormsButton.cs index 0ed93dec0..adb452638 100644 --- a/Xamarin.Forms.Platform.UAP/FormsButton.cs +++ b/Xamarin.Forms.Platform.UAP/FormsButton.cs @@ -71,9 +71,11 @@ namespace Xamarin.Forms.Platform.UWP void UpdateBorderRadius() { - if (_contentPresenter != null) - _contentPresenter.CornerRadius = new Windows.UI.Xaml.CornerRadius(BorderRadius); + { + var radius = BorderRadius == -1 ? 0 : BorderRadius; + _contentPresenter.CornerRadius = new Windows.UI.Xaml.CornerRadius(radius); + } } } } \ No newline at end of file