summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core
diff options
context:
space:
mode:
authorShawn Castrianni <shawn@spcware.com>2016-06-08 12:37:21 -0500
committerJason Smith <jason.smith@xamarin.com>2016-06-08 10:37:21 -0700
commit2a244e0b2fc793f9d58ee517b6e73350583756b0 (patch)
tree5f54770a230421f2efc97df814baedf5b47023e3 /Xamarin.Forms.Core
parentc1cf72080abbbc06571e5a64ef8777c35f7014f0 (diff)
downloadxamarin-forms-2a244e0b2fc793f9d58ee517b6e73350583756b0.tar.gz
xamarin-forms-2a244e0b2fc793f9d58ee517b6e73350583756b0.tar.bz2
xamarin-forms-2a244e0b2fc793f9d58ee517b6e73350583756b0.zip
Add convenience GridLength.Star (#168)
* Add convenience GridLength.Star * Update docs
Diffstat (limited to 'Xamarin.Forms.Core')
-rw-r--r--Xamarin.Forms.Core/GridLength.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Xamarin.Forms.Core/GridLength.cs b/Xamarin.Forms.Core/GridLength.cs
index 5d569d08..6dac4338 100644
--- a/Xamarin.Forms.Core/GridLength.cs
+++ b/Xamarin.Forms.Core/GridLength.cs
@@ -12,6 +12,11 @@ namespace Xamarin.Forms
get { return new GridLength(1, GridUnitType.Auto); }
}
+ public static GridLength Star
+ {
+ get { return new GridLength(1, GridUnitType.Star); }
+ }
+
public double Value { get; }
public GridUnitType GridUnitType { get; }