Hi,
Is there an easy way (= without having to use a complex ControlTemplate like in Kalin Milanovs answer (https://www.telerik.com/forums/how-to-change-the-selected-row-style)) to change the backgound color of the selected row ?
I've tried using a Trigger:
<Style x:Key="DefaultTelerikGridViewRowStyle" TargetType="telerik:GridViewRow">
<Setter Property="Height" Value="20"/>
<Style.Triggers>
<Trigger Property="IsSelected" Value="True">
<Setter Property="Height" Value="24"/>
<Setter Property="BorderBrush" Value="Green" />
<Setter Property="BorderThickness" Value="3" />
<Setter Property="FontWeight" Value="Bold" />
<Setter Property="FontSize" Value="14"/>
<Setter Property="Background" Value="Red"/>
<Setter Property="Foreground" Value="Green"/>
</Trigger>
</Style.Triggers>
</Style>
This works fine for every property in the Trigger, except for the Background color. How come ?
Kind Regards