title: Row color based on changing ID from MySQL database
body: <p>I'm trying to change the color of my datagridrows based on the ID change.
  I have already bind the data to the datagridview.</p>
  <p>I think the easiest way would be to check if the ID in Column 1 is odd or even:</p>
  <p>even rowbackground = white
  odd rowbackground = brown</p>
  <p>The Idea is to get a better overview and collect the items a bit due to background color.</p>
  <p>Im complety new to WPF:
  At the moment i have just the datagrid included as follows:</p>
  <p><code>&lt;DataGrid x:Name=&quot;cusDetailGrid&quot;  Grid.Column=&quot;1&quot; Grid.Row=&quot;2&quot; ItemsSource=&quot;{Binding}&quot;/&gt;</code></p>
  <p>This will be populated by a selectionstring to MySqlDB.</p>
  <p>Any Ideas how to get this working?
  Thank you in advance!</p>