The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: Drag And Drop Item in ListBox in WPF
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

Sõl ÕmñIbúsPosted Apr 1, 2017, 5:56 PM
Thank you thanks to you i could do a drag of an expander from a listbox to a second one but with the previewmousseleftbutton event i can 't open the expander any more what shoul i do ???
Malek AngelitaPosted Mar 2, 2016, 8:03 PM
hello, it's great what u did. pliz can u send me the code u did. thnx anyway ([email protected]) :)
El Not To WorryPosted Dec 30, 2015, 12:08 PM
Hello I have implemented your example works great, I want to find a way for the data to persist. in other words items dragged stay in list box 2. Right now when I restart the program everything goes back to list box 1
TC Serdar ŞengülPosted Nov 23, 2014, 5:09 AM
hello My application is some sort of a form designer. I want dynamic creating objects(textboxes, labels, buttons) from a toolbox. I want these objects to be dragged around as the user wishes but within a single division. I dont want these objects to be dragged outside that division. Can anyone plz help me with this drag and drop about example video http://www.youtube.com/watch?v=W6HMUmrL-Hk I want to make like visual studio ( drag drop object runtime create )
kalu singh raoPosted May 24, 2014, 8:58 AM
when drag and drop then cross image appear on mouse place so please tell me how to remove it.
Jayashree SubramanianPosted Aug 8, 2013, 7:55 AM
Thanks Much!
sawyer maksimovPosted Jul 8, 2013, 2:30 PM
Great! Thank you!!
mani TPosted Jan 11, 2011, 9:22 AM
Hi... This article is very useful to me... Where should i write the code if i want to show a message when user drops a control somewhere else not in listbox2.
vaishnavi desaiPosted Mar 10, 2010, 9:13 PM
Hi, Very nice article. Helped me a lot. Could you tell me how would i implement multiple drag and drop over to other listbox? Also what would i consider if i want to move items up and down in my listbox. I would appreciate any help. Thanks, CS