summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core
diff options
context:
space:
mode:
authorStephane Delcroix <stephane@delcroix.org>2016-11-16 21:05:28 (GMT)
committerJason Smith <jason.smith@xamarin.com>2016-11-16 21:05:28 (GMT)
commitacc6efb3d7d502d0a40020ec86eaff4d018de8be (patch)
treeb5187bdde475f568e5b267dfc8240c5cc9223db7 /Xamarin.Forms.Core
parent281bfa2b0a6de05130b87ad5c25f9bf8b05f876c (diff)
downloadxamarin-forms-acc6efb3d7d502d0a40020ec86eaff4d018de8be.zip
xamarin-forms-acc6efb3d7d502d0a40020ec86eaff4d018de8be.tar.gz
xamarin-forms-acc6efb3d7d502d0a40020ec86eaff4d018de8be.tar.bz2
[W] Support 0 as valid BorderWidth (#537)
Diffstat (limited to 'Xamarin.Forms.Core')
-rw-r--r--Xamarin.Forms.Core/Button.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xamarin.Forms.Core/Button.cs b/Xamarin.Forms.Core/Button.cs
index 3157307..97d774c 100644
--- a/Xamarin.Forms.Core/Button.cs
+++ b/Xamarin.Forms.Core/Button.cs
@@ -33,7 +33,7 @@ namespace Xamarin.Forms
public static readonly BindableProperty FontAttributesProperty = BindableProperty.Create("FontAttributes", typeof(FontAttributes), typeof(Button), FontAttributes.None,
propertyChanged: SpecificFontPropertyChanged);
- public static readonly BindableProperty BorderWidthProperty = BindableProperty.Create("BorderWidth", typeof(double), typeof(Button), 0d);
+ public static readonly BindableProperty BorderWidthProperty = BindableProperty.Create("BorderWidth", typeof(double), typeof(Button), -1d);
public static readonly BindableProperty BorderColorProperty = BindableProperty.Create("BorderColor", typeof(Color), typeof(Button), Color.Default);