We are using a RadGridView and we have 2 columns and the empty space to the right of the header columns has this white border color that I'm not finding a way to remove it by styling or control templating.
In styling I've tried:
<Style TargetType="{x:Type telerikGridView:RadGridView}"> <Setter Property="telerikControls:StyleManager.Theme" Value="Transparent"/> <Setter Property="HeaderRowStyle"> <Setter.Value> <Style TargetType="{x:Type Control}"> <Setter Property="Background" Value="{DynamicResource GridHeaderBrush}"/> <Setter Property="BorderThickness" Value="0,0,0,0"/> </Style> </Setter.Value> </Setter> </Style>
I've also tried re-templating the control and doing the following:
<telerik:GridViewScrollViewer.HeaderRow> <telerik:GridViewHeaderRow x:Name="PART_HeaderRow" IsTabStop="False" IndentLevel="{TemplateBinding GroupCount}" Background="{DynamicResource GridHeaderBrush}" BorderThickness="0,0,0,0" BorderBrush="Transparent"> </telerik:GridViewHeaderRow> </telerik:GridViewScrollViewer.HeaderRow>
There still remains a white border around the empty space where the header column cells don't occupy. When I inspect the visual tree via WPF Snoop I see the white border belongs to a Border visual that is in the visual tree however when I copy the control template in Blend so I can edit it I don't see this border anywhere. Is this border being added by code instead of XAML?
I would appreciate any help on changing this border color.
Thanks