Good evening,
in my sfDataGrid i set an alternatingRowStyle and a Row Styel as follow:
AlternatingRowStyle="{StaticResource alternatingRowStyle}" RowStyle="{StaticResource RowStyle}"
<Style x:Key="alternatingRowStyle" TargetType="Syncfusion:VirtualizingCellsControl">
<Setter Property="Background" >
<Setter.Value>
<SolidColorBrush Opacity="0.5" Color="#F7F7F7F7" />
</Setter.Value>
</Setter>
</Style>
<Style x:Key="RowStyle" TargetType="Syncfusion:VirtualizingCellsControl" >
<Style.Triggers>
<DataTrigger Binding="{Binding Path=Annullata}" Value="True">
<Setter Property="Background" Value="Tomato"/>
<Setter Property="FontStyle" Value="Oblique"/>
</DataTrigger>
<DataTrigger Binding="{Binding Path=Superata}" Value="True">
<Setter Property="Background" Value="SandyBrown"/>
</DataTrigger>
</Style.Triggers>
</Style>
The problem is that if a Row is "colored" by the alternatingRowStyle, it will not "coloured" by the Rowstyle.
It's a problem of priority? I would like to set with higher priority the rowstyle, while at the moment it seems that the alternatingrowstyle has the higher proprity.
thank you in advance,
best regards
Marco Del Frate