0

I set SelectionUnit="FullRow" to a WPF DataGrid but when I select it seems to still focus over the cell that the mouse click was fired.

How to not focus on any cell and select only a row?

enter image description here

Cœur
  • 37,241
  • 25
  • 195
  • 267
Georgiana M
  • 323
  • 4
  • 20
  • 2
    Possible duplicate of [Disable DataGrid current cell border in FullRow selection mode](http://stackoverflow.com/questions/4547370/disable-datagrid-current-cell-border-in-fullrow-selection-mode) – Kinetic Aug 24 '16 at 12:16
  • Thanks! it did the trick. – Georgiana M Aug 24 '16 at 12:20
  • I suppose that your problem is only visual. Isn't it? You can modify ControlTemplate of Cell and cancel and remove Trigger that resposible for this black border. – Mr.B Aug 24 '16 at 12:25

0 Answers0