Hi, could you give me some assistance in how I can restyle the column header. I have the following code, however I am still getting a border around the columns and there is still a blank area to the left of the columns, basically I just want the columns to show with a header of #ffd4e4a5 with no borders;
<
UserControl
x:Class
=
"GridUserControl"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
>
<
UserControl.Resources
>
<
Style
x:Key
=
"GridViewHeaderRowStyle1"
TargetType
=
"{x:Type telerik:GridViewHeaderCell}"
>
<
Setter
Property
=
"Background"
Value
=
"#FFD4E4A5"
/>
<
Setter
Property
=
"Foreground"
Value
=
"DarkGreen"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"#FFD4E4A5"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"0"
/>
</
Style
>
<
Style
x:Key
=
"GridViewHeaderRowStyle2"
TargetType
=
"{x:Type telerik:GridViewHeaderRow}"
>
<
Setter
Property
=
"Background"
Value
=
"#FFD4E4A5"
/>
<
Setter
Property
=
"Foreground"
Value
=
"DarkGreen"
/>
<
Setter
Property
=
"BorderBrush"
Value
=
"#FFD4E4A5"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"0"
/>
</
Style
>
</
UserControl.Resources
>
<
Grid
x:Name
=
"LayoutRoot"
HorizontalAlignment
=
"Stretch"
VerticalAlignment
=
"Stretch"
>
<
telerik:RadGridView
HorizontalAlignment
=
"Stretch"
VerticalAlignment
=
"Stretch"
GroupPanelBackground
=
"#FFD4E4A5"
ColumnBackground
=
"#FFD4E4A5"
HeaderRowStyle
=
"{DynamicResource GridViewHeaderRowStyle2}"
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewDataColumn
Header
=
"Date sent"
HeaderCellStyle
=
"{DynamicResource GridViewHeaderRowStyle1}"
/>
<
telerik:GridViewDataColumn
Header
=
"Customer"
HeaderCellStyle
=
"{DynamicResource GridViewHeaderRowStyle1}"
/>
<
telerik:GridViewDataColumn
Header
=
"Invoice Number"
HeaderCellStyle
=
"{DynamicResource GridViewHeaderRowStyle1}"
/>
<
telerik:GridViewDataColumn
Header
=
"Description"
HeaderCellStyle
=
"{DynamicResource GridViewHeaderRowStyle1}"
/>
<
telerik:GridViewDataColumn
Header
=
"Amount"
HeaderCellStyle
=
"{DynamicResource GridViewHeaderRowStyle1}"
/>
<
telerik:GridViewDataColumn
Header
=
"Status"
HeaderCellStyle
=
"{DynamicResource GridViewHeaderRowStyle1}"
/>
<
telerik:GridViewDataColumn
Header
=
"Action"
HeaderCellStyle
=
"{DynamicResource GridViewHeaderRowStyle1}"
/>
</
telerik:RadGridView.Columns
>
</
telerik:RadGridView
>
</
Grid
>
</
UserControl
>