title: Xamarin.Forms ControlTemplate doesn't render Background
body: <p>I've got a <code>ControlTemplate</code> which does not display it's <code>Background</code> Color. I don't set anything in code or at other positions so I'm completly confused about this.</p>
  
  <p>The <code>ControlTemplate</code>:</p>
  
  <pre><code>&lt;ControlTemplate  ... &gt;
  &lt;RelativeLayout BackgroundColor="Green"&gt;
  
      &lt;Grid BackgroundColor="Black"
            RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToParent,Property=Width,Factor=1,Constant=0}"
            RelativeLayout.HeightConstraint="{ConstraintExpression Type=RelativeToParent,Property=Height,Factor=1,Constant=0}"&gt;
          &lt;Grid.RowDefinitions&gt;
              &lt;RowDefinition Height="*" /&gt;
              &lt;RowDefinition Height="auto" /&gt;
              &lt;RowDefinition Height="*" /&gt;
          &lt;/Grid.RowDefinitions&gt;
  
          &lt;Grid.ColumnDefinitions&gt;
              &lt;ColumnDefinition Width="*" /&gt;
              &lt;ColumnDefinition Width="auto" /&gt;
              &lt;ColumnDefinition Width="*" /&gt;
          &lt;/Grid.ColumnDefinitions&gt;
  
          &lt;ContentPresenter Grid.Row="1"
                            Grid.Column="1" 
                            BackgroundColor="Blue"/&gt;
  
      &lt;/Grid&gt;
  
  &lt;/RelativeLayout&gt;
  &lt;/ControlTemplate&gt;
  </code></pre>
  
  <p>And the View:</p>
  
  <pre><code>&lt;ContentView ...
      ControlTemplate="{x:TemplateBinding templates:OverlayViewTemplate}"&gt;
  
  &lt;ContentView.Content&gt;
  
      &lt;Grid x:Name="GrdBase"
            BackgroundColor="White"
            VerticalOptions="Center"
            HorizontalOptions="Center"&gt;
  
          &lt;Grid.GestureRecognizers&gt;
              &lt;TapGestureRecognizer Command="{Binding ClickCommand}" /&gt;
          &lt;/Grid.GestureRecognizers&gt;
  
          &lt;Grid.RowDefinitions&gt;
              &lt;RowDefinition Height="auto" /&gt;
              &lt;RowDefinition Height="10" /&gt;
              &lt;RowDefinition Height="auto" /&gt;
          &lt;/Grid.RowDefinitions&gt;
  
          &lt;Grid.ColumnDefinitions&gt;
              &lt;ColumnDefinition Width="100" /&gt;
          &lt;/Grid.ColumnDefinitions&gt;
  
          &lt;StackLayout Grid.Row="0"
                       Grid.Column="0"&gt;
              &lt;Label x:Name="LblTest"
                     Text="Hello Xamarin.Forms!" /&gt;
          &lt;/StackLayout&gt;
      &lt;/Grid&gt;
  
  &lt;/ContentView.Content&gt;
  &lt;/ContentView&gt;
  </code></pre>
  
  <p>Do I miss something here or is a Template unable to render a background color?</p>
  
  <h1>Edit</h1>
  
  <p>After a lot of testing around, I found out that the Template is not used by the <code>ContentView</code>. Even if I define the template inside my <code>App.xaml</code> and referencing it via <code>ControlTemplate="{StaticResource ViewTemplate}"</code>. I have got an other Template which is used by my pages and this works with no issue, so is there a bug when using it with a <code>View</code>?</p>