C# Drag and Drop without a specific event

Asked

Viewed 52 times

0

I am developing an application in C#(WPF) and wonder if anyone knows how to get the data from drag n drop mouse without any event being fired.

Is there any way to return this data from dragndrop mouse(a file being dragged for example) without any specific event or if it is possible to simulate the Drop and get the mouse data at that point?

  • I don’t think I understand the question. Events will be triggered anyway, be it the Drag, Drop, Click event, etc...

  • Hi Vinicius, I want to get a file being dragged by Mouse without using any event-control of my application. I want to detect the file without my application being open. I already know the right time, just do not know how to access the mouse data outside the application... In the Input.Mouse namespace I only get information about the mouse position, but the drag-n-drop content I cannot access...

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.