title: WPFToolkit DataGrid: Highlight modified rows
body: <p>Is there a way to highlight all the modified rows on a <code>DataGrid</code>? Since the grid is bound to a <code>System.Data.DataTable</code> I figured I might be able to bind the color of each row to it's <code>RowState</code> (example below), but that doesn't seem to work.</p>
  <p>Any ideas?</p>
  <pre><code>xmlns:data=&quot;clr-namespace:System.Data;assembly=System.Data&quot;
  &lt;Style x:Key=&quot;DataGridRowStyle&quot; TargetType=&quot;{x:Type toolkit:DataGridRow}&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;Blue&quot; /&gt;
          &lt;/Trigger&gt;
          &lt;DataTrigger Binding=&quot;{Binding RowState}&quot;
                       Value=&quot;{x:Static data:DataRowState.Modified}&quot;&gt;
              &lt;Setter Property=&quot;Background&quot; Value=&quot;LightYellow&quot; /&gt;
          &lt;/DataTrigger&gt;
      &lt;/Style.Triggers&gt;
  &lt;/Style&gt;
  </code></pre>