Image drag and drop in wpf application

▼魔方 西西 提交于 2019-12-18 17:27:49

问题


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


回答1:


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).




回答2:


Does this drag and drop library help you?



来源:https://stackoverflow.com/questions/806704/image-drag-and-drop-in-wpf-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!