title: how can I change font color during runtime in wpf?
body: <p>I am using VS2010 - WPF - C# and I am building a securities ticker that show some values to the user in a listview.</p>
  
  <p>My listview looks like this:</p>
  
  <pre><code>&lt;ListView Height="325" Margin="8,8,8,0" x:Name="listView1" VerticalAlignment="Top" BorderThickness="3" FontWeight="Bold" FontSize="12" Foreground="White" Background="{x:Null}" BorderBrush="{x:Null}" Style="{DynamicResource ListViewStyle1}"&gt;
    &lt;ListView.View&gt;
      &lt;GridView&gt;
        &lt;GridViewColumn Header="name" DisplayMemberBinding="{Binding company_name}" Width="200" /&gt;
        &lt;GridViewColumn Header="symbol" DisplayMemberBinding="{Binding symbol}" Width="50" /&gt;
        &lt;GridViewColumn Header="price"  DisplayMemberBinding="{Binding price}" Width="75" /&gt;
        &lt;GridViewColumn Header="percent " DisplayMemberBinding="{Binding change_percent}" Width="50" /&gt;
      &lt;/GridView&gt;
    &lt;/ListView.View&gt;
  &lt;/ListView&gt;
  </code></pre>
  
  <p>I would like some rows in my listview to be coloured in red, others in green, depending on the percent value at runtime, but I don't know how.</p>
  
  <p>Best Regards</p>