Can we drop a file in windows explorer from WPF window?

旧巷老猫 提交于 2019-12-22 15:36:09

问题


I have a treeview that shows the current file system. I want to add functionality to enable dropping files into windows explorer. If I drag any of the node of my treeview and drop it on any of the window of Windows explorer then the file will be copied to that location. How can I accomplish this?


回答1:


First read this about how to implement drag and drop in WPF.

The read this for some information about what explorer expects when you drop in it.

Then ask new questions if you still have any.



来源:https://stackoverflow.com/questions/3165874/can-we-drop-a-file-in-windows-explorer-from-wpf-window

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