I am using this XAML to remove the grid lines from datagrid header
<Grid:SfDataGrid x:Name="TheGrid"
FrozenColumnCount="1"
ColumnSizer="Star"
SelectionMode="None"
AutoGenerateColumns="False"
BorderThickness="0"
CellStyle="{StaticResource App.AnalysisGridCellStyle}"
HeaderTemplate="{StaticResource App.AnalysisDetailHeaderTemplate}">
<Grid:SfDataGrid.HeaderStyle>
<Style TargetType="Grid:GridHeaderCellControl">
<Setter Property="Background"
Value="{StaticResource App.TopBarBackgroundBrush}" />
<Setter Property="BorderThickness"
Value="0" />
<Setter Property="BorderBrush"
Value="Transparent" />
</Style>
</Grid:SfDataGrid.HeaderStyle>
</Grid:SfDataGrid>
Columns are added manually, not autogenerated, i see row lines removed from all but two header cells, any idea why? (see attached image)
Attachment:
Capture_1cfda063.zip