The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DragDrop.GiveFeedback Attached Event

Occurs continuously while a drag-and-drop operation is in progress, and enables the drag source to give feedback to the user.

Namespace:  System.Windows
Assembly:  PresentationCore (in PresentationCore.dll)

See AddGiveFeedbackHandler, RemoveGiveFeedbackHandler
<object DragDrop.GiveFeedback="GiveFeedbackEventHandler" .../>

The GiveFeedback event is raised continuously while the drag source is being dragged. This event is paired with the DragOver event on the drop target. The default handler for this event checks whether the drag source is over a valid drop target. If it is, it checks the allowed effects of the drop target. It then gives feedback to the end user regarding the allowed drop effects. This is typically done by changing the mouse cursor to a no-drop, copy, or move cursor. You should only handle this event if you need to use custom cursors to provide feedback to the user. If you handle this event, you must mark it as handled to prevent the default behavior from overriding your handler.

Caution noteCaution

This event is raised continuously during the drag-and-drop operation. Therefore, you should avoid resource-intensive tasks in the event handler. For example, use a cached cursor instead of creating a new cursor each time the GiveFeedback event is raised.

Routed Event Information

Identifier field


Routing strategy




The corresponding tunneling event is PreviewGiveFeedback.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

© 2014 Microsoft