Click here to Skip to main content
15,881,173 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Guys,

Please could you send some sample code if you have done this task we need to drag and drop multiple items from listbox to Treeview and delete from treeview if something dropped wrongly.

What I have tried:

Listbox to listbox i can able to drag and drop but that is not the perfect requirement for me so looking from listbox to treeview
Posted
Updated 17-Apr-18 1:28am

1 solution

You have to implement drop handlers in your tree view that acts according to the provided data, the drop position, and the wanted actions.

See Drag and Drop Feature in WPF TreeView Control[^] for an example of the handlers.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900