This question is locked. New answers and comments are not allowed.
Hi Guys!
As I decided to switch to the Metro Theme I wanted to change the HeaderCellStyle of the RadGridView and now I struggle with the following problem:
I want a border with thickness 1 around each header cell. Therefore I adapted the style but to my confusion it seems
that the border is not constant as declared. Some cells have a thicker right (or left) border than other cells.
I tried to modify the ControlTemplate as well and figured out that there is only one border (x:name=GridViewHeaderCell) who seems to cause this problem.
This is my custom style (in addition to the style declared in the metro theme):
As I decided to switch to the Metro Theme I wanted to change the HeaderCellStyle of the RadGridView and now I struggle with the following problem:
I want a border with thickness 1 around each header cell. Therefore I adapted the style but to my confusion it seems
that the border is not constant as declared. Some cells have a thicker right (or left) border than other cells.
I tried to modify the ControlTemplate as well and figured out that there is only one border (x:name=GridViewHeaderCell) who seems to cause this problem.
This is my custom style (in addition to the style declared in the metro theme):
Is there a way to fix this problem? Thanks in advance, Andi P.S.: Attached you can find a screenshot describing this problem. (I removed everything from the ControlTemplate except that border)<StyleTargetType="telerik:GridViewHeaderCell"><SetterProperty="Foreground"Value="{StaticResource MainBrush}"/><SetterProperty="Background"Value="{StaticResource AccentBrush}"/><SetterProperty="BorderBrush"Value="{StaticResource StrongBrush}"/><SetterProperty="BorderThickness"Value="1,1,1,1"/><SetterProperty="VerticalContentAlignment"Value="Center"/><SetterProperty="HorizontalContentAlignment"Value="Center"/><SetterProperty="Padding"Value="0"/><SetterProperty="FontWeight"Value="Bold"/></Style>