Partager via


DiagramClientView.OnGiveFeedback Method

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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Déclaration
Protected Overrides Sub OnGiveFeedback ( _
    gfbevent As GiveFeedbackEventArgs _
)
protected override void OnGiveFeedback(
    GiveFeedbackEventArgs gfbevent
)
protected:
virtual void OnGiveFeedback(
    GiveFeedbackEventArgs^ gfbevent
) override
abstract OnGiveFeedback : 
        gfbevent:GiveFeedbackEventArgs -> unit 
override OnGiveFeedback : 
        gfbevent:GiveFeedbackEventArgs -> unit 
protected override function OnGiveFeedback(
    gfbevent : GiveFeedbackEventArgs
)

Parameters

Remarks

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.

.NET Framework Security

See Also

Reference

DiagramClientView Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace