title: WPF DataGrid style
body: <p>I have a DataGrid with the following style</p>
  <pre><code>&lt;Style x:Key=&quot;DataGridRowStyle1&quot; TargetType=&quot;{x:Type DataGridRow}&quot;&gt;
      &lt;Setter Property=&quot;Foreground&quot; Value=&quot;#FFB3B3B3&quot;/&gt;
      &lt;Setter Property=&quot;Height&quot; Value=&quot;25&quot;/&gt;
      &lt;Setter Property=&quot;HorizontalContentAlignment&quot; Value=&quot;Stretch&quot;/&gt;
      &lt;Setter Property=&quot;Template&quot; Value=&quot;{DynamicResource DataGridRowControlTemplate1}&quot;/&gt;
      &lt;Style.Triggers&gt;
          &lt;Trigger Property=&quot;IsSelected&quot; Value=&quot;True&quot;&gt;
              &lt;Setter Property=&quot;Background&quot; Value=&quot;#FF262626&quot;/&gt;
          &lt;/Trigger&gt;
          &lt;Trigger Property=&quot;ItemsControl.AlternationIndex&quot; Value=&quot;0&quot;&gt;
              &lt;Setter Property=&quot;Background&quot; Value=&quot;#FF383838&quot;/&gt;
          &lt;/Trigger&gt;
          &lt;Trigger Property=&quot;ItemsControl.AlternationIndex&quot; Value=&quot;1&quot;&gt;
              &lt;Setter Property=&quot;Background&quot; Value=&quot;#FF333333&quot;/&gt;
          &lt;/Trigger&gt;
      &lt;/Style.Triggers&gt;
  &lt;/Style&gt;
  </code></pre>
  <p>and it appears like this:</p>
  <p><img src="https://i.stack.imgur.com/oaSpw.png" alt="enter image description here" /></p>
  <p>My problem appears when the DataGrid lose the focus:</p>
  <p><img src="https://i.stack.imgur.com/U9VY6.png" alt="enter image description here" /></p>
  <p>How can I make it's appearance independent of the focus ?</p>