1

How do I select multiple rows in a datagrid on mouse click without using a control key or check boxes?

tperalta
  • 21
  • 2
  • 3
  • You can simulate the Ctrl key in code. – Philippe Lavoie Aug 04 '11 at 23:42
  • Cant you already do that by dragging mouse over rows to select them? But Fragmented selection (Extended Selection) is possible only with Ctrl Key though. May be you can use click of the MouseWheelButton for extended selection? – WPF-it Aug 05 '11 at 04:33
  • possible duplicate of [WPF Datagrid Multiple Selection without CTRL or Space](http://stackoverflow.com/questions/2053526/wpf-datagrid-multiple-selection-without-ctrl-or-space) – quetzalcoatl Jun 27 '13 at 09:41
  • I think [this](http://stackoverflow.com/questions/2053526/wpf-datagrid-multiple-selection-without-ctrl-or-space/43091400#43091400) (like MVVM) solution will solve your problem. – Péter Hidvégi Mar 29 '17 at 13:05

1 Answers1

-3

You can try out SelectionMode="Extended".

El Padrino
  • 1,141
  • 1
  • 11
  • 26