title: Xamdatagrid set the selected backgroud color when alternate reocrd is true
body: <p>i am currently facing issue to set the backgroud color to yellow when alternate row  is true  </p>
  
  <p>i have grid in which few columns background is set to different colour. i have set highlightlight alterate row is to true. i have also set the yellow background when record is selected.</p>
  
  <pre><code> &lt;Window.Resources&gt;
      &lt;ObjectDataProvider x:Key="CarData" ObjectType="{x:Type Cars:CarsBusinessLogic}" MethodName="GetCars" /&gt;
  
      &lt;Style TargetType="{x:Type igDP:DataRecordCellArea}" &gt;
          &lt;Setter Property="BackgroundSelected" Value="#FFDB4C"/&gt;
          &lt;Style.Triggers&gt;
              &lt;DataTrigger Binding="{Binding Path=IsSelected}" Value="False"&gt;
                  &lt;Setter Property="BackgroundActive" Value="Transparent"/&gt;
                  &lt;Setter Property="BorderActiveBrush" Value="Transparent"/&gt;
              &lt;/DataTrigger&gt;
          &lt;/Style.Triggers&gt;
      &lt;/Style&gt;
  
      &lt;Style TargetType="{x:Type igDP:DataRecordPresenter}" &gt;
          &lt;EventSetter Event="PreviewMouseLeftButtonDown" Handler="drp_PreviewMouseLeftButtonDown"/&gt;
      &lt;/Style&gt;
  
      &lt;Style TargetType="{x:Type igDP:DataRecordCellArea}" x:Key="RecordAlignment"&gt;
          &lt;Setter Property="HorizontalContentAlignment" Value="Center"&gt;&lt;/Setter&gt;
          &lt;Setter Property="HorizontalAlignment" Value="Center"&gt;&lt;/Setter&gt;
          &lt;Setter Property="VerticalAlignment" Value="Top"&gt;&lt;/Setter&gt;
          &lt;Setter Property="VerticalContentAlignment" Value="Top"&gt;&lt;/Setter&gt;
          &lt;Setter Property="BackgroundActive" Value="#FFDB4C"/&gt;
          &lt;Setter Property="BackgroundSelected" Value="#FFDB4C"/&gt;
          &lt;Setter Property="BackgroundHover" Value="#7092BE"/&gt;
          &lt;Style.Triggers&gt;
              &lt;DataTrigger Binding="{Binding DataItem.Hovered}" Value="True"&gt;
                  &lt;Setter Property="Background" Value="{Binding RelativeSource={RelativeSource Self}, Path=BackgroundHover}"/&gt;
                  &lt;Setter Property="BackgroundAlternate" Value="{Binding RelativeSource={RelativeSource Self}, Path=BackgroundHover}"/&gt;
                  &lt;Setter Property="Foreground" Value="White"/&gt;
                  &lt;Setter Property="FontWeight" Value="Bold"&gt;&lt;/Setter&gt;
              &lt;/DataTrigger&gt;
              &lt;DataTrigger Binding="{Binding Path=IsSelected}" Value="False"&gt;
                  &lt;Setter Property="BackgroundActive" Value="Transparent"/&gt;
                  &lt;Setter Property="BorderActiveBrush" Value="Transparent"/&gt;
              &lt;/DataTrigger&gt;
          &lt;/Style.Triggers&gt;
      &lt;/Style&gt;
  
      &lt;Style x:Key="ColumnStyle1" TargetType="{x:Type igDP:CellValuePresenter}" &gt;
          &lt;Setter Property="Background" Value="#D8E4BC"/&gt;
          &lt;Style.Triggers&gt;
              &lt;DataTrigger Binding="{Binding Path=IsMouseOver, RelativeSource={RelativeSource AncestorType={x:Type igDP:DataRecordCellArea}}}" Value="True"&gt;
                  &lt;Setter Property="Background" Value="Transparent"/&gt;
              &lt;/DataTrigger&gt;
              &lt;DataTrigger Binding="{Binding IsSelected}" Value="True"&gt;
                  &lt;Setter Property="Background" Value="Transparent"/&gt;
              &lt;/DataTrigger&gt;
  
              &lt;DataTrigger Binding="{Binding DataItem.IsActive}" Value="True"&gt;
                  &lt;Setter Property="Background" Value="Transparent"/&gt;
              &lt;/DataTrigger&gt;
  
              &lt;DataTrigger Binding="{Binding Path=IsAlternate,RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={ x:Type igDP:DataRecordCellArea}} }" Value="True"&gt;
                  &lt;Setter Property="Background" Value="#EFF7DB" /&gt;
              &lt;/DataTrigger&gt;
  
              &lt;DataTrigger Binding="{Binding DataItem.Hovered}" Value="True"&gt;
                  &lt;Setter Property="Background" Value="Transparent"/&gt;
                  &lt;Setter Property="Foreground" Value="White"/&gt;
                  &lt;Setter Property="FontWeight" Value="Bold"&gt;&lt;/Setter&gt;
              &lt;/DataTrigger&gt;
          &lt;/Style.Triggers&gt;
      &lt;/Style&gt;
  
  
  &lt;/Window.Resources&gt;
  &lt;Grid&gt;
      &lt;ScrollViewer Name="view1"&gt;
  
          &lt;igDP:XamDataGrid 
              Width="490" DataSource="{Binding Source={StaticResource CarData}}" HorizontalAlignment="Left" Name="xamDataGrid1" VerticalAlignment="Top"   &gt;
  
              &lt;igDP:XamDataGrid.Resources&gt;
                  &lt;Style TargetType="{x:Type igDP:RecordListControl}"&gt;
                      &lt;Setter Property="Template"&gt;
                          &lt;Setter.Value&gt;
                              &lt;ControlTemplate TargetType="{x:Type igDP:RecordListControl}"&gt;
                                  &lt;ScrollViewer  CanContentScroll="true"
                        VerticalScrollBarVisibility="Disabled"
                        HorizontalScrollBarVisibility="Disabled"    &gt;
                                      &lt;ItemsPresenter/&gt;
                                  &lt;/ScrollViewer&gt;
                              &lt;/ControlTemplate&gt;
                          &lt;/Setter.Value&gt;
                      &lt;/Setter&gt;
                  &lt;/Style&gt;
              &lt;/igDP:XamDataGrid.Resources&gt;
  
              &lt;igDP:XamDataGrid.FieldSettings&gt;
                  &lt;igDP:FieldSettings AllowEdit="False" AllowFixing="No"
                                      CellClickAction="SelectRecord" 
                                  CellHeight="25" AutoSizeOptions="All"
                                      AutoSizeScope="RecordsInView" 
                                      CellContentAlignment="LabelAboveValueAlignLeft" /&gt;
              &lt;/igDP:XamDataGrid.FieldSettings&gt;
  
              &lt;igDP:XamDataGrid.FieldLayoutSettings&gt;
                  &lt;igDP:FieldLayoutSettings  SelectionTypeRecord="Single" &gt;&lt;/igDP:FieldLayoutSettings&gt;
              &lt;/igDP:XamDataGrid.FieldLayoutSettings&gt;
              &lt;igDP:XamDataGrid.FieldLayouts&gt;
  
                  &lt;igDP:FieldLayout Key="BrandLevel" Tag="Brand" &gt;
                      &lt;igDP:FieldLayout.Settings&gt;
                          &lt;igDP:FieldLayoutSettings  HighlightAlternateRecords="True"  &gt;&lt;/igDP:FieldLayoutSettings&gt;
                      &lt;/igDP:FieldLayout.Settings&gt;
  
                      &lt;igDP:FieldLayout.Fields&gt;
                          &lt;igDP:Field Name="Make"/&gt;
                          &lt;igDP:Field Name="Model" /&gt;
                          &lt;igDP:Field Name="BasePrice" &gt;
                              &lt;igDP:Field.Settings&gt;
                                  &lt;igDP:FieldSettings CellMinWidth="50"   CellValuePresenterStyle="{StaticResource ColumnStyle1}"&gt;
                                  &lt;/igDP:FieldSettings&gt;
                              &lt;/igDP:Field.Settings&gt;
                          &lt;/igDP:Field&gt;
                          &lt;igDP:Field Name="Mileage"/&gt;
  
  
  
                      &lt;/igDP:FieldLayout.Fields&gt;
                      &lt;/igDP:FieldLayout&gt;
                  &lt;/igDP:XamDataGrid.FieldLayouts&gt;
          &lt;/igDP:XamDataGrid&gt;
  
      &lt;/ScrollViewer&gt;
  &lt;/Grid&gt;
  </code></pre>