Perform dragdrop implementation after DoDragDrop method is called?WPF

琦 琨 1 Reputation point
2021-09-23T09:10:27.853+00:00

I've been struggling with this for quite a while

My application contains a list view, populated with file-names, which are located on a server.

I'm trying to implement drag and drop functionality, so the user can drag files from my application into his/her's local computer.

In order to do this, first i'm downloading the files into a temporary location, and then calling my application's DoDragDrop() method.

The problem is that I want to perform the download process only after the DoDragDrop method is called.

I've tried every event related to drag drop methods (GiveFeedback, ItemDrag, etc...) but nothing works

so basically what I need is an event, raised after the DoDragDrop is done

any ideas??

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,709 questions
{count} votes