Bewerken

Delen via


UIElement.GiveFeedback Event

Definition

Occurs when the input system reports an underlying drag-and-drop event that involves this element.

public:
 event System::Windows::GiveFeedbackEventHandler ^ GiveFeedback;
public event System.Windows.GiveFeedbackEventHandler GiveFeedback;
member this.GiveFeedback : System.Windows.GiveFeedbackEventHandler 
Public Custom Event GiveFeedback As GiveFeedbackEventHandler 

Event Type

Remarks

The GiveFeedback event allows the source of a drag event to modify the appearance of the mouse pointer in order to give the user visual feedback during a drag-and-drop operation. The visual feedback reinforces that a drag-and-drop operation is in process.

This event creates an alias for the DragDrop.GiveFeedback attached event for this class so that GiveFeedback is part of the class members list when UIElement is inherited as a base element. Event handlers that are attached to the GiveFeedback event are attached to the underlying DragDrop.GiveFeedback attached event and receive the same event data instance.

Routed Event Information

Identifier field GiveFeedbackEvent
Routing strategy Bubbling
Delegate GiveFeedbackEventHandler

Applies to

See also