title: wpf DataGrid Loses its Row Selection when the focus is lost
body: <p>I have come accross a very strange behavior with the DataGrid. I have following Trigger on the DataGridRow</p>
  
  <pre><code>&lt;Style TargetType="{x:Type DataGridRow}"&gt;
      &lt;Style.Triggers&gt;
          &lt;Trigger Property="IsSelected" Value="True"&gt;
              &lt;Setter Property="Background" Value="{StaticResource SelectionBackgroundBrush}"/&gt;
              &lt;Setter Property="Foreground" Value="White"/&gt;
          &lt;/Trigger&gt;
      &lt;/Style.Triggers&gt;
  &lt;/Style&gt;
  </code></pre>
  
  <p>Initially when the row is selected, I get the behavior from the above trigger. However, after selection, if the DataGrid loses focus (say for example I click some other button on window) the Foreground property loses its value, but the background remains as specified in the trigger. Has anyone ever come accross this behavior, or there is some problem with my code above (or elsewhere in my applicaion for that matter). Any workarounds for the above issue ?</p>