WPF 4 Drag and Drop with visual element as cursor

前端 未结 2 723
遇见更好的自我
遇见更好的自我 2020-12-15 00:01

I have a WPF 4 app which I want to enable drag and drop with, currently I have it working with a basic drag and drop implementation, but I have found that it would be much b

2条回答
  •  余生分开走
    2020-12-15 00:22

    There is an example of using a custom drag cursor at Jaime Rodriguez msdn blog. You can handle the GiveFeedback event and change the mouse cursor, but to use a custom Visual the author creates a new Window and updates the position on QueryContinueDrag.

提交回复
热议问题