I searched far and wide looking for the answer to this but nothing seems to give a clear example of how to do it!
I just want to be able to grab a picture from the desktop/explorer and drag and drop it onto a WPF image control or similar.
Can anybody point me in the right direction? I’ve seen loads of example about dragging and dropping from app to app, or within an app, or from the app to the desktop, but hardly any for the other way round.
I’m guessing some form of clipboard interaction is required.
You need to enable drag and drop on your image control, then its just a matter of opening the file you drop on to it in the event handler.
see the answer from Drag and drop files into WPF
(remember to up vote the top answer in that question if it helps 🙂 )