GiveFeedback event in Windows Presentation Foundation Drag/Drop

Although the documentation may not make it clear, GiveFeedback is an event that happens on the source side of a drag/drop operation. If you look at, you’ll see that the arguments really have one interesting property, Effects, of type DragDropEffects (

This property gives you information about what would happen if the user was to let go. So, for example, if the effect was going to be a Move rather than a Copy, then you might choose to blur the selected item, to indicate that it’s about to go away. You can also set the cursor based on the requested effect using the arguments. WPF will handle the standard behavior for you.

Note that this event is also described in the WinForms documentation at You can also get information on drag/drop from these pages, or even the OLE Drag/Drop documentation at Even though the specific might change, the reason this works is that the drag/drop protocol itself was designed to be usable across different processes built on different languages/platforms, and so you can read about what each implementation has to say about how they view things - it all works in the end.

Comments (2)

  1. Windows Presentation Foundation Recommended practices for WPF Custom Control developers Drag & Drop

  2. Nachdem es jetzt auch bei uns rasant in Richtung Windows Presentation Framework (wpf) geht, habe ich heute mehrere Stunden damit verbracht Informationen zu sammeln, wie ich diverse Anforderungen an neue Anwendungen in wpf erfüllen kann! Dabei ist

Skip to main content