Drag listboxitem onto a canvas WPF

  • Thread starter Thread starter asharda
  • Start date Start date
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.
 
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
 
Back
Top