Support IDragSourceHelper/IDragTargetHelper?
See original GitHub issueThese two interfaces are used to support enhanced drag-and-drop support, including (most importantly for me) the ability to specify a custom image to be displayed under the cursor during the drag. While this can be done in C# today by using COM interop, you have to roll your own IDataObject implementation to do so, as the default Windows Forms one does not support setting arbitrary COM-based private formats into the data object, per Windows requirements. Would it be possible to update the Windows Forms DataObject class to enable this? (It would be even better if there would be higher-level code added to obviate the need to do custom COM interop to use thesee features, but I do not know what the API design for that would look like.) Thanks!
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Export a SupportAssist Collection over iDRAC7 and iDRAC8
How to export the Tech Support Report (TSR) / SupportAssist Collection over the Dell iDRAC7 & iDRAC8 user interface.
Read more >Support - ResourceMate® Library Cataloguing Software
We can help you to make the most out of ResourceMate®! Our knowledgeable support staff are available from Monday 9AM to Friday 5...
Read more >Integrated Library System Support
We provide every customer with system critical support 24 hours a day, seven days a week, 365 days a year. Innovative Interfaces is...
Read more >IDRSolutions Support Documentation
This is the support site for IDRSolutions products. Here you can find tutorials, technical documents, release notes and FAQs. Everything you need to...
Read more >Support | R4 API
Financial Support resources include the Coverage, CoverageEligibilityRequest, CoverageEligibilityResponse, EnrollmentRequest, and EnrollmentResponse ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi @wjk - We added support for drag images and drop descriptions, available since .NET 7 RC1. A sample program can be found here.
The drag image and drop description will be displayed if
DragEventArgs.DropImageTypeis set to a value greater thanDropImageType.Invalid. The drag image bitmap can be specified using theControl.DoDragDrop(Object, DragDropEffects, Bitmap, Point, Boolean)method or by settingGiveFeedbackEventArgs.DragImageproperty during theControl.GiveFeedbackevent.Please let me know if you get a chance to test it and if so, any feedback is appreciated. Thanks.
We have similar proposal for drag events showing underlying image here: https://github.com/dotnet/winforms/pull/6576.