I have been trying to implement drag and drop in my ListView for a while now. There's a number of examples floating around but none of them have really been working for me. I have manage to combine MouseLeftDown and MouseMove to make it possible to drag
one item. However, when multiple items are selected it only drags one item (since it changes selection when the MouseLeftDown is triggered).
I haven't stumbled upon a good solution to this yet. I need to be able to drag one or more items and drop them either in the listview itself or some other control. I want a visual indication of the items being dragged as well as some sort of line to tell
where the items will be inserted into the listview.
Does anyone have any suggestions on how to go forward? What magic with the mouse events should I preform?
View Complete Post