Hi Justin,
Your condition states that the DataCell's IsSelected must be False, which is still the case if you select the row on a different DataCell. You should instead look at the DataRow's IsSelected value.
Also, to make your Style more efficient in terms of performance, I would recommend adding a Condition on the FieldName. There is no point checking the DataCells of all the other Columns if the desired value will always only be in a specific Column.
For example:
<Style TargetType="{x:Type xcdg:DataCell}">
<Style.Triggers>
<MultiDataTrigger>
<MultiDataTrigger.Conditions>
<Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=FieldName}" Value="FieldA" />
<Condition Binding="{Binding RelativeSource={RelativeSource Self}, Path=Content}" Value="BAD DOCUMENT" />
<Condition Binding="{Binding RelativeSource={RelativeSource AncestorType={x:Type xcdg:DataRow}}, Path=IsSelected}" Value="False" />
</MultiDataTrigger.Conditions>
<Setter Property="Background" Value="Red" />
<Setter Property="Foreground" Value="White" />
</MultiDataTrigger>
</Style.Triggers>
</Style>
** Quick Tip: Clients with an active support subscription should be sending their questions by email if they wish to benefit from the faster response time. Thanks!
Diane Lafontaine
Technical Support
Xceed Software Inc.