Hi,
I have been googleing for long and only can find solution for code behind.
What if I wanted to have all rows in one color and all hierarchical rows in another color in XAML?
Many Thanks,
Houman
Hello Houman,
You can try the following style :
<Style TargetType="{x:Type igDP:DataRecordPresenter}">
<Setter Property="Background" Value="ForestGreen"/>
<Style.Triggers>
<DataTrigger Binding="{Binding NestingDepth}" Value="0">
<Setter Property="Background" Value="LightGreen"/>
</DataTrigger>
</Style.Triggers>
</Style>
Thank you very much.