title: How to get DataTemplate.DataTrigger to check for greater than or less than?
body: <p>The following <code>DataTemplate.DataTrigger</code> makes the age display red if it is <strong>equal to</strong> 30.</p>
  
  <p>How do I make the age display red if it is <strong>greater than</strong> 30?</p>
  
  <pre><code>&lt;DataTemplate DataType="{x:Type local:Customer}"&gt;
      &lt;Grid x:Name="MainGrid" Style="{StaticResource customerGridMainStyle}"&gt;
          &lt;Grid.ColumnDefinitions&gt;
              &lt;ColumnDefinition Width="100"/&gt;
              &lt;ColumnDefinition Width="150"/&gt;
          &lt;/Grid.ColumnDefinitions&gt;
          &lt;Grid.RowDefinitions&gt;
              &lt;RowDefinition/&gt;
              &lt;RowDefinition/&gt;
              &lt;RowDefinition/&gt;
          &lt;/Grid.RowDefinitions&gt;
          &lt;TextBlock Grid.Column="0" Grid.Row="0" Text="First Name" Margin="5"/&gt;
          &lt;TextBlock Grid.Column="1" Grid.Row="0" Text="{Binding FirstName}" Margin="5"/&gt;
          &lt;TextBlock Grid.Column="0" Grid.Row="1" Text="Last Name" Margin="5"/&gt;
          &lt;TextBlock Grid.Column="1" Grid.Row="1" Text="{Binding LastName}" Margin="5"/&gt;
          &lt;TextBlock Grid.Column="0" Grid.Row="2" Text="Age" Margin="5"/&gt;
          &lt;TextBlock x:Name="Age" Grid.Column="1" Grid.Row="2" Text="{Binding Age}" Margin="5"/&gt;
      &lt;/Grid&gt;
  
      &lt;DataTemplate.Triggers&gt;
          &lt;DataTrigger Binding="{Binding Path=Age}"&gt;
              &lt;DataTrigger.Value&gt;30&lt;/DataTrigger.Value&gt;
              &lt;Setter TargetName="Age" Property="Foreground" Value="Red"/&gt; 
          &lt;/DataTrigger&gt;
      &lt;/DataTemplate.Triggers&gt;
  
  &lt;/DataTemplate&gt;
  </code></pre>