How can I allow Drag and Drop from Windows Explorer into a C# WPF application?

Posted by Seabass__ on Stack Overflow See other posts from Stack Overflow or by Seabass__
Published on 2010-05-21T15:30:35Z Indexed on 2010/05/21 15:30 UTC
Read the original article Hit count: 153

Filed under:
|
|

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?

© Stack Overflow or respective owner

Related posts about c#

Related posts about wpf