Drag listboxitem onto a canvas WPF

A

asharda

Hi,

I have a listbox on my WPF window and a cnavas. I have to be able to
drag the items from the list box and drop them on the canvas and draw
the item accorgingly.

If anyone knows how to accomplish it, then please let me know.

Any help will be greatly appreciated.
Thanks for you time in advance.
 
C

Chris Jobson

I have a listbox on my WPF window and a cnavas. I have to be able to
drag the items from the list box and drop them on the canvas and draw
the item accorgingly.

If anyone knows how to accomplish it, then please let me know.

Any help will be greatly appreciated.
Thanks for you time in advance.
These three articles give a good introduction:
http://blogs.msdn.com/jaimer/archive/2007/07/12/drag-drop-in-wpf-explained-end-to-end.aspx
http://blogs.msdn.com/jaimer/archive/2007/07/12/drag-drop-in-wpf-part2.aspx
http://blogs.msdn.com/jaimer/archive/2007/07/12/drag-drop-in-wpf-part-3-the-results-and-code.aspx

Chris Jobson
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top