title: Binding BackgroundColor properties ContentPage in Xamarin Forms
body: <p>I've need to binding background color from string.
  My xaml code: </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
               xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
               x:Class="Fimap.LoadingPage"
               BackgroundColor="{Binding ColorBackground}"&gt;
      &lt;ContentPage.Content&gt;
          &lt;Grid Padding="130" x:Name="griglia"&gt;
              &lt;Grid.ColumnDefinitions&gt;
                  &lt;ColumnDefinition Width="*"&gt;&lt;/ColumnDefinition&gt;
              &lt;/Grid.ColumnDefinitions&gt;
              &lt;Grid.RowDefinitions&gt;
                  &lt;RowDefinition Height="10*"&gt;&lt;/RowDefinition&gt;
                  &lt;RowDefinition Height="40*"&gt;&lt;/RowDefinition&gt;
                  &lt;RowDefinition Height="25*"&gt;&lt;/RowDefinition&gt;
                  &lt;RowDefinition Height="25*"&gt;&lt;/RowDefinition&gt;
              &lt;/Grid.RowDefinitions&gt;
              &lt;Image Source="logo.png" Grid.Row="1"&gt;&lt;/Image&gt;
              &lt;ActivityIndicator x:Name="loading" Grid.Row="2" IsVisible="true" Color="{Binding ColorBackground}" IsRunning="true" /&gt;
          &lt;/Grid&gt;
      &lt;/ContentPage.Content&gt;
  &lt;/ContentPage&gt;
  </code></pre>
  
  <p>my codebehind code: </p>
  
  <pre><code>...
  public String ColorBackground { get; set; } = "#E40000";
  ...
  </code></pre>
  
  <p>I did set this <code>ColorBackground</code> before the public Class() costructor.</p>
  
  <p>But don't work...where do I wrong ?</p>
  
  <p>Thanks to all</p>