阅读背景:

如何允许从Windows资源管理器拖放到c# WPF应用程序中?

来源:互联网 

I know there have been tons of answers on this subject, but I still cannot get it to work at all. I've enabled AllowDrop on every control at every level of the application, and tried to catch DragEnter and Drop on every control to no avail. I can drag and drop items inside the application, but any time I try to bring something in from Windows Explorer or the desktop, etc. it gives me the No icon. Any ideas what I might be doing wrong?I know there have been tons of answers on this




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: