I have the following XAML:
<Style.Triggers>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding Path=Errors, Converter={StaticResource ErrorsCountConverter}}">
<Condition.Value>True</Condition.Value>
</Condition>
<Condition Binding="{Binding Path=Errors[0].HasError}" Value="True" />
</MultiDataTrigger.Conditions>
<Setter Property="Background" Value="Red" />
</MultiDataTrigger>
</Style.Triggers>
Errors is a ObservableCollection<BrokenRule>
. The BrokenRule has a property called HasError. Now, I want to bind to that HasError property but not sure how to reference it in XAML.