MultiDataTrigger works just as well for DependencyProperties as it does for regular properties. Just set the path to the name of your dependency property.
You need to be careful when setting the source of this binding, since the default source is the DataContext of the element to which the trigger is connected. If a trigger is used in style on a selectable object, you can use the RelativeSource property to bind:
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding Path=IsDirty}" Value="True" />
<Condition Binding="{Binding Path=IsSelected, RelativeSource={RelativeSource Self}}" Value="True" />
</MultiDataTrigger.Conditions>
<Setter Property="Background" Value="Cyan" />
</MultiDataTrigger>
source
share