1

I have a Control, on which I drag items from one of several other Controls (all ListViewItems).

The Control correctly raises the Drop event, as I have set all the appropriate properties.

Now, how do I get the ListViewItems that were dragged onto the control? I see a Data property, which may be useful - but I haven't a clue on how to use it to get the required info.

Any help would be appreciated.

1 Answer 1

1

Found it:

Subscribe to Drop event. And access the data through e.Data.GetView() method.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.