Remove border from selected cell in row in datagrid

As you can see in the picture around Jesse Furher, a black border line, how can I delete this row for all cells?

example

+7
source share
1 answer

Add this style to your DataGrid resources and the selection border will be lost -

<DataGrid> . . <DataGrid.Resources> <Style TargetType="DataGridCell"> <Setter Property="BorderThickness" Value="0"/> <Setter Property="FocusVisualStyle" Value="{x:Null}"/> </Style> </DataGrid.Resources> . . </DataGrid> 
+25
source

All Articles