title: Why StackLayout's BackgroundColor overrides Labels color?
body: <p>Here is relevent code:  </p>
  
  <pre><code>public class App : Application
  {
      public App()
      {
          StackLayout stack = new StackLayout
          {
              BackgroundColor = new Color(245, 240, 236)
          };
  
          Grid top = new Grid
          {
              ...
          };
  
          Grid grid = new Grid
          {
              ...
          };
  
          for (int i = 0; i &lt; 10; i++)
          {
              Label name = getLabel("Worksheet " + i);
              name.TextColor = Color.Black;
              grid.Children.Add(name, 0, i);
  
              Label date = getLabel("Opened by me " + new DateTime(2016, 1, i + 1 % 30).ToString("dd MMM yyy"));
              grid.Children.Add(date, 1, i);
  
              Label dots = getLabel("dots");
              grid.Children.Add(dots, 2, i);
          }
  
          Label menu = getTopLabel("menu");
          Label header = getTopLabel("Worksheets");
          header.FontSize = Device.GetNamedSize(NamedSize.Large, typeof(Label));
          Label plus = getTopLabel("plus");
          Label edit = getTopLabel("edit");
  
          top.Children.Add(menu, 0, 0);
          top.Children.Add(header, 1, 0);
          top.Children.Add(plus, 2, 0);
          top.Children.Add(edit, 3, 0);
  
          stack.Children.Add(top);
          stack.Children.Add(grid);
  
          ...
      }
  
      private Label getLabel(string text)
      {
          return new Label
          {
              ...
              BackgroundColor = Color.White
          };
      }
  
      private Label getTopLabel(string text)
      {
          return new Label
          {
              ...
              BackgroundColor = new Color(227, 49, 35),
              TextColor = Color.Black
          };
      }
  }
  </code></pre>
  
  <p>My problem is that when I run the application, all the grids are displayed with one background color defined in StackLayout. It ignores all other color definition.<br>
  How I can define background color for layout but keep backgroun colors for cells of the grid?  </p>
  
  <p>Screenshot:</p>
  
  <p><a href="https://i.stack.imgur.com/oIfYi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/oIfYi.png" alt="screenshot"></a></p>