แก้ไข

แชร์ผ่าน


UIElement.PreviewGiveFeedback Event

Definition

Occurs when a drag-and-drop operation is started.

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

Event Type

Remarks

The PreviewGiveFeedback event enables 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.

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

Routed Event Information

Identifier field PreviewGiveFeedbackEvent
Routing strategy Tunneling
Delegate GiveFeedbackEventHandler

Applies to