I can create simple triggers that check if a property has a specific value like this:
<Style x:Key="StatusIndicator" TargetType="TextBlock">
<Style.Triggers>
<DataTrigger Binding="{Binding Status}" Value="off">
<Setter Property="TextBlock.Foreground" Value="Red"/>
</DataTrigger>
</Style.Triggers>
</Style>
But how would I use any more complicated operators, e.g.:
PSEUDO-CODE:
<DataTrigger Binding="{Binding Amount}" Operator=">=" Value="35">
<Setter Property="TextBlock.Foreground" Value="Red"/>
</DataTrigger>
Is there some property like "Operator", or do I need to use a converter for this or how are complex operators realized in triggers?