ContentElement::PreviewGiveFeedback Event

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public:
event GiveFeedbackEventHandler^ PreviewGiveFeedback {
	void add(GiveFeedbackEventHandler^ value);
	void remove(GiveFeedbackEventHandler^ value);
}

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 ContentElement 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.

Identifier field

PreviewGiveFeedbackEvent

Routing strategy

Tunneling

Delegate

GiveFeedbackEventHandler

.NET Framework
Available since 3.0
Return to top
Show: