I am trying to change the theme of RadGridView's HeaderRow. I have followed the steps mentioned in the documentation and created a custom style in Blend. However, when I copy that style to my actual Silverlight project, that style is not applied. My style markup is given below
<
SolidColorBrush
x:Key
=
"GridView_HeaderBackground"
Color
=
"#F6E0C1"
/><
br
> <
SolidColorBrush
x:Key
=
"GridView_HeaderOuterBorder"
Color
=
"#F6E0C1"
/><
br
> <
SolidColorBrush
x:Key
=
"GridViewHeaderCellDropMarkerPenBrush"
Color
=
"White"
/><
br
> <
SolidColorBrush
x:Key
=
"GridView_HeaderForeground"
Color
=
"Black"
/><
br
> <
Style
x:Key
=
"MyGridViewHeaderCellStyle"
TargetType
=
"telerik:GridViewHeaderCell"
> <
br
> <
Setter
Property
=
"Background"
Value
=
"{StaticResource GridView_HeaderBackground}"
/><
br
> <
Setter
Property
=
"BorderBrush"
Value
=
"{StaticResource GridView_HeaderOuterBorder}"
/><
br
> <
Setter
Property
=
"BorderThickness"
Value
=
"0 0 0 0"
/><
br
> <
Setter
Property
=
"VerticalContentAlignment"
Value
=
"Center"
/><
br
> <
Setter
Property
=
"HorizontalContentAlignment"
Value
=
"Stretch"
/><
br
> <
Setter
Property
=
"Padding"
Value
=
"5 0 3 0"
/> <
br
> <
Setter
Property
=
"Foreground"
Value
=
"{StaticResource GridView_HeaderForeground}"
/><
br
> </
Style
>