DragAndDrop selectedItems of one silverlight Datag

2019-08-12 02:28发布

问题:

Currently I am using "DataGridDragDropTarget" to Drag a row from one datagrid to another, but a client want to be able to select multiple rows from one datagrid and drop them into another.

I played around a bit but realized "DataGridDragDropTarget" seems to be able to drag and drop single row at a time only.

Is there any alternative way to DragDrop multiple selected rows?

回答1:

Pressing Shift key while dragging multiple rows to another datagrid really works for this. But can anyone suggest how can I remove shift key press while moving multiple rows or how to drag while holding CTRL?