Josh Smith's ListViewDragDropManager for XamDataGrid

John Doe / Tuesday, March 23, 2010

I am not going to invent the wheel. Josh Smith already did. I am just going to make it fit another car - the XamDataGrid.

As Josh says, the code is fairly complex to be explained (It just works) so please refer to his article for more information on the code.

I added one little new feature - a thin Line indicating between which records you are about to drop the dragged item. Also, I made some code changes here and there to make it work smoother with the XamDataGrid.

The sample you can find in the attachments.

Enjoy.

 

Edit : The project for VS2008 you can find here : .

ListViewDragDropManagerDemo.zip