Created
December 31, 2016 07:31
-
-
Save ytabuchi/894fc317ca6f26a223878f7cce282b3f to your computer and use it in GitHub Desktop.
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 box00 = new BoxView | |
{ | |
BackgroundColor = Color.FromHex("#ffaaaa") | |
}; | |
var box01 = new BoxView | |
{ | |
BackgroundColor = Color.FromHex("#aaffaa") | |
}; | |
var box10 = new BoxView | |
{ | |
BackgroundColor = Color.FromHex("#aaaaff") | |
}; | |
var box20 = new BoxView | |
{ | |
BackgroundColor = Color.FromHex("#aaaaaa") | |
}; | |
grid.Children.Add(box00, 0, 0); | |
grid.Children.Add(box01, 1, 0); | |
Grid.SetRowSpan(box01, 2); | |
grid.Children.Add(box10, 0, 1); | |
grid.Children.Add(box20, 0, 2); | |
Grid.SetColumnSpan(box20, 2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment