title: Silverlight DataGridRow Background color change based on a column value and bind from the datagrid itemsource
body: <p>I am trying to color the row based on a column value and may be other calculations in the value converter, but as long as I set the background value to any binding or anything but the hardcoded color Value="Red" in the setter, it throws a XAML parsing error. I am implementing like this:</p>
  
  <pre><code>&lt;sdk:DataGrid ItemsSource="{Binding
  EmailJobs}"
  AutoGenerateColumns="False" 
  Height="Auto"
  HorizontalAlignment="Center" 
  Name="dgEmailJObs"
  VerticalAlignment="Top" 
  Width="Auto"       Grid.Row="2"&gt;
  
  
  &lt;sdk:DataGrid.RowStyle&gt;
                  &lt;Style TargetType="sdk:DataGridRow"&gt;
                      &lt;Style.Setters&gt;
                            &lt;Setter Property="Background"
  Value="{Binding Path=Status,
  Converter={StaticResource
  valueConverter}}"/&gt;
                      &lt;/Style.Setters&gt;
                  &lt;/Style&gt;
              &lt;/sdk:DataGrid.RowStyle&gt;
              &lt;sdk:DataGrid.Columns&gt;
                  &lt;sdk:DataGridTextColumn
  CanUserReorder="False"
  CanUserResize="False"
  CanUserSort="True" Header="Customer"
  Width="Auto" Binding="{Binding
  Customer}" /&gt;
                  &lt;sdk:DataGridTextColumn
  CanUserReorder="False"
  CanUserResize="False"
  CanUserSort="True" Header="Program"
  Width="Auto"  Binding="{Binding
  Program}" /&gt;
                  &lt;sdk:DataGridTextColumn
  CanUserReorder="False"
  CanUserResize="False"
  CanUserSort="True"
  Header="Application" Width="Auto" 
  Binding="{Binding Application}"/&gt;
                  &lt;sdk:DataGridTextColumn
  CanUserReorder="True" 
  CanUserResize="False"
  CanUserSort="True" Header="Status"
  Width="Auto"  Binding="{Binding
  Status}"&gt;&lt;/sdk:DataGridTextColumn&gt;
                  &lt;sdk:DataGridTextColumn
  CanUserReorder="False"
  CanUserResize="False"
  CanUserSort="True" Header="Last
  Created By" Width="Auto" 
  Binding="{Binding LastChangedBy}"/&gt;
                  &lt;sdk:DataGridTextColumn
  CanUserReorder="False"
  CanUserResize="False"
  CanUserSort="True" Header="Last
  Created On" Width="Auto" 
                             Binding="{Binding
  LastChangedOn,StringFormat='MM/DD/YYYY
  hh:mm tt'}" /&gt;
              &lt;/sdk:DataGrid.Columns&gt;                       
          &lt;/sdk:DataGrid&gt;
  </code></pre>
  
  <p>I am using MVVM and dont wanna use the triggering event. All I want is to simply supply the fourth column value to the converter, but it blows up, should be pretty simple jsut lack of XAML binding knowledge :( any help</p>