DragAndDrop selectedItems of one silverlight Datagrid into another

情到浓时终转凉″ 提交于 2020-01-24 19:30:08

问题


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?



来源:https://stackoverflow.com/questions/3882458/draganddrop-selecteditems-of-one-silverlight-datagrid-into-another

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!