views:

226

answers:

1

Hello,

I'd like to do Drag & Drop with the right mouse button instead with the left one. However calling

DragDrop.DoDragDrop()

from MouseRightButtonDown instead of MouseLeftButtonDown doesn't do the job - DragDrop.DoDragDrop looks for mouse movements while holding down the left mouse button. Any idea how to realise Drag & Drop using the right mouse button? Thanks for any hint!

+1  A: 

You need to make use of DragDrop.AddQueryContinueDragHandler(). Please see this post for details.

wpfwannabe
Thank you very much for your reply, works fine!
stefan.at.wpf