Remove the border from a selected cell in a row in datagrid
styles, wpf, xaml
Solution
Add this style in your DataGrid Resources and the selection border will be gone -
<DataGrid>
.
.
<DataGrid.Resources>
<Style TargetType="DataGridCell">
<Setter Property="BorderThickness" Value="0"/>
<Setter Property="FocusVisualStyle" Value="{x:Null}"/>
</Style>
</DataGrid.Resources>
.
.
</DataGrid>
Problem
As you can see in the picture around Jesse Furher is a black border line, how can i remove that line for all cells?