title: uwp: how to change background color of listview item based on its value?
body: <p>Edit: UWP App is not 100% the same like the WPF App.</p>
  
  <p>I have a uwp App with a ListView. In the ListView i use a DataTemplate with the class of Tests. It displays the name of the Test and Points.</p>
  
  <p>What i want to accomplish is that a Trigger !? checks <strong>if the Points are greater than i.e.: 50 and then change the background color</strong> of the ListViewItem to red.</p>
  
  <p></p>
  
  <pre><code>            &lt;ListView.ItemTemplate&gt;
                  &lt;DataTemplate x:DataType="data:Tests"&gt;
                      &lt;Grid&gt;
                          &lt;TextBlock Text="{x:Bind Name}"  /&gt;
                          &lt;TextBlock Text="{x:Bind Points}"  /&gt;
                      &lt;/Grid&gt;
                  &lt;/DataTemplate&gt;
              &lt;/ListView.ItemTemplate&gt;
  </code></pre>
  
  <p></p>