This is what DragEventArgs.Data
is for. Create a DataPackage
of the dragged item in the DragItemsStarting
event. The DataPackage
is passed between the two events.
Edit:
That enables dragging between two ListView
s. According to the documentation here:
"To enable users to reorder items using drag-and-drop interaction, you must set both the CanReorderItems
and AllowDrop
properties to true."
This should fix your issues.