diff options
author | Stephane Delcroix <stephane@delcroix.org> | 2017-02-06 15:18:16 +0100 |
---|---|---|
committer | Stephane Delcroix <stephane@delcroix.org> | 2017-02-06 15:18:16 +0100 |
commit | faa6eae8e72d810c8d16dd92e02b305dbf35548c (patch) | |
tree | 78a91ae8be6dd37b03c2f345b54c07472d7f58b9 /Xamarin.Forms.Core | |
parent | fc7d556848e731902d096953c9b4fb28a2466e6b (diff) | |
download | xamarin-forms-faa6eae8e72d810c8d16dd92e02b305dbf35548c.tar.gz xamarin-forms-faa6eae8e72d810c8d16dd92e02b305dbf35548c.tar.bz2 xamarin-forms-faa6eae8e72d810c8d16dd92e02b305dbf35548c.zip |
Revert "[*] ScaleX and ScaleY"
This reverts commit fc7d556848e731902d096953c9b4fb28a2466e6b.
Diffstat (limited to 'Xamarin.Forms.Core')
-rw-r--r-- | Xamarin.Forms.Core/VisualElement.cs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/Xamarin.Forms.Core/VisualElement.cs b/Xamarin.Forms.Core/VisualElement.cs index e0125f36..352e2549 100644 --- a/Xamarin.Forms.Core/VisualElement.cs +++ b/Xamarin.Forms.Core/VisualElement.cs @@ -48,10 +48,6 @@ namespace Xamarin.Forms public static readonly BindableProperty ScaleProperty = BindableProperty.Create("Scale", typeof(double), typeof(VisualElement), 1d); - public static readonly BindableProperty ScaleXProperty = BindableProperty.Create("ScaleX", typeof(double), typeof(VisualElement), 1d); - - public static readonly BindableProperty ScaleYProperty = BindableProperty.Create("ScaleY", typeof(double), typeof(VisualElement), 1d); - public static readonly BindableProperty IsVisibleProperty = BindableProperty.Create("IsVisible", typeof(bool), typeof(VisualElement), true, propertyChanged: (bindable, oldvalue, newvalue) => ((VisualElement)bindable).OnIsVisibleChanged((bool)oldvalue, (bool)newvalue)); @@ -246,16 +242,6 @@ namespace Xamarin.Forms set { SetValue(ScaleProperty, value); } } - public double ScaleX { - get { return (double)GetValue(ScaleXProperty); } - set { SetValue(ScaleXProperty, value); } - } - - public double ScaleY { - get { return (double)GetValue(ScaleYProperty); } - set { SetValue(ScaleYProperty, value); } - } - public Style Style { get { return (Style)GetValue(StyleProperty); } |