Hi All,
I am using Wpf 4.0 and telerik data grid in my applictaion.
I have a requirement tha i have to set alternate row colors as blue and red.
I got the following style but htrough this i can set only on background color.
But i am not getting the desired result.
Kindly let me know the solution.
Thanks in advance !!!!!
I am using Wpf 4.0 and telerik data grid in my applictaion.
I have a requirement tha i have to set alternate row colors as blue and red.
I got the following style but htrough this i can set only on background color.
<
Style
x:Key
=
"AlternateRowStyle"
TargetType
=
"{x:Type telerikGridView:GridViewRow}"
>
<
Setter
Property
=
"Background"
Value
=
"Red"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"#D4D6D6"
/>
</
Style
>
<
Style
TargetType
=
"{x:Type framework:RTPOGridView}"
>
<
Setter
Property
=
"AlternateRowStyle"
Value
=
"{DynamicResource AlternateRowStyle}"
/>
<
Setter
Property
=
"Background"
Value
=
"Blue"
/>
</
Style
>
But i am not getting the desired result.
Kindly let me know the solution.
Thanks in advance !!!!!