<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition>
<Condition.Binding>
<MultiBinding Converter="{StaticResource BooleanOr}">
<Binding Path="Property Value =5"/>
<Binding Path="Property Value =10"/>
</MultiBinding>
</Condition.Binding>
</Condition>
</MultiDataTrigger.Conditions>
///Do something here based on condition….
The code means when Value eqauls 5 or 20 ===> Do something.
I followed this one for multi-triggers
But "Binding Path="Property Value =5"" this line obviously is wrong.
What should I write here in order to compare Value is 5 or not
Thank you!
You’ll need another converter to see if one value is equal to whatever value you’re comparing against
Another option is to use
DataTriggers