C# / WPF / .NET - Drag and drop to Desktop / Explorer

Posted by Dänu on Stack Overflow See other posts from Stack Overflow or by Dänu
Published on 2010-06-14T19:53:34Z Indexed on 2010/06/15 9:52 UTC
Read the original article Hit count: 1211

Filed under:
|
|

Hey Guys

Following my scenario.

I got an Application which loads a Filestructure (Folders, Files) from a Database into a WPF ListView. Now I'd like to grab a file from this ListView, drag it over my Desktop (or some open explorer window) and drop it there. Basic Drag and Drop, nothing fancy. This sounds like a "standard" function for a windows application - but google won't help.

So how can I achieve this? Interops?

Thanks

Edit: Thanks for the solution, I still had to do some googling. Here's my complete solution.

© Stack Overflow or respective owner

Related posts about wpf

Related posts about drag-and-drop