Created
December 31, 2016 05:21
-
-
Save ytabuchi/54f0b860d1615c3cd76b45dbfa4f5c4b to your computer and use it in GitHub Desktop.
Grid Layout of Xamarin.Forms sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var grid = new Grid(); | |
grid.RowDefinitions.Add(new RowDefinition | |
{ | |
Height = new GridLength(2, GridUnitType.Star) | |
}); | |
grid.RowDefinitions.Add(new RowDefinition | |
{ | |
Height = new GridLength (1, GridUnitType.Star) | |
}); | |
grid.RowDefinitions.Add (new RowDefinition | |
{ | |
Height = new GridLength(200) | |
}); | |
grid.ColumnDefinitions.Add (new ColumnDefinition | |
{ | |
Width = new GridLength (200) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment