Removing DataGrid cell dotted border? Removing DataGrid cell dotted border? wpf wpf

Removing DataGrid cell dotted border?


You have to clear out the FocusVisualStyle of the DataGridCells.

<DataGrid>    <DataGrid.CellStyle>        <Style TargetType="{x:Type DataGridCell}">            <Setter Property="FocusVisualStyle" Value="{x:Null}"/>        </Style>    </DataGrid.CellStyle>...