Skip to content

Instantly share code, notes, and snippets.

@ytabuchi
Created December 31, 2016 07:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ytabuchi/894fc317ca6f26a223878f7cce282b3f to your computer and use it in GitHub Desktop.
Save ytabuchi/894fc317ca6f26a223878f7cce282b3f to your computer and use it in GitHub Desktop.
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