I am trying to figure out how to move the items in a pre-populated listbox up and down via mouse drags.
I have looked at the Control.DoDragDrop method from microsoft's api, but I still can't get it to do anything.
I would appreciate any help since I am new to the visual studios environment.
Best Answer
i've tried create one using observablecollection, have a look
Drag and drop process
Note:
PreviewMouseLeftButtonDown
event, the dragged item looks like not selected