Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Image drag and drop in wpf application

I want to drag and drop an image on wpf application form. Can anyone provide me the code and other links for that?

like image 682
Jalpesh Vadgama Avatar asked Apr 30 '09 12:04

Jalpesh Vadgama


1 Answers

If you want to D&D within a single WPF application; then this code should get you going:

Drag and Drop within WPF

If you want to D&D between WPF applications, or between another non-WPF application you've got some options, but probably the easiest is to use a bitmap transfer (it takes a bit more code, so let me know and I'll publish it).

like image 71
Scott Avatar answered Sep 29 '22 23:09

Scott