I am using a DataGrid in row selection mode (i.e., SelectionUnit=\"FullRow\"). I simply want to remove the border that is being placed around the current cell w
In case you don't want to mess with XAML styles you could do this simple hack. It does not work as good as XAML styles but you can try it out and see if it fits you. It is fine for simple clicking on cells but if you try to drag cells this won't remove focus afterwards (although I am pretty sure you could add another case which checks for that).
private void YourDataGrid_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
YourDataGrid.Focus();
}
PS: Don't forget to add the event handler to your DataGrid's SelectionChanged property.