DiagramClientView::OnGiveFeedback Method (GiveFeedbackEventArgs^)

 

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.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

protected:
virtual void OnGiveFeedback(
	GiveFeedbackEventArgs^ gfbevent
) override

Parameters

gfbevent
Type: System.Windows.Forms::GiveFeedbackEventArgs^
e

A GiveFeedbackEventArgs that contains the event data.

OnGiveFeedback is responsible for changing the cursor based on the value of GiveFeedbackEventArgs.Effect. GiveFeedbackEventArgs.Effect is the drop effect value returned by the most recent call to OnDragEnter, OnDragOver, or OnDragLeave.

Return to top
Show: