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
'Dichiarazione
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
- gfbevent
Type: System.Windows.Forms.GiveFeedbackEventArgs
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.