Image drag and drop in wpf application

后端 未结 1 1516
自闭症患者
自闭症患者 2021-01-02 20:14

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

相关标签:
1条回答
  • 2021-01-02 20:28

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

    0 讨论(0)
提交回复
热议问题