Hello,
MergedCellsStyle of my RadGridView is below.I want to chenge the background of the mergedCell when it is selected.But the code dose not work.
How to achieve that?
Thanks.
<Style x:Key=
"GridViewMergedCell1"
TargetType=
"telerik:GridViewMergedCell"
>
<Setter Property=
"ContentTemplate"
>
<Setter.Value>
<DataTemplate>
<StackPanel>
<TextBlock Text=
"{Binding}"
Foreground=
"Black"
HorizontalAlignment=
"Center"
VerticalAlignment=
"Center"
FontWeight=
"Bold"
/>
</StackPanel>
</DataTemplate>
</Setter.Value>
</Setter>
<Setter Property=
"Background"
Value=
"AliceBlue"
/>
<Style.Triggers>
<Trigger Property=
"IsSelected"
Value=
"True"
>
<Setter Property=
"Background"
Value=
"AliceBlue"
/>
</Trigger>
</Style.Triggers>
</Style>