Share via


Diagram.OnGiveFeedback Method

Changes the pointer and performs a custom action when the pointer is dragged across the designer.

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

Syntax

'Declaration
Public Overridable Sub OnGiveFeedback ( _
    e As GiveFeedbackEventArgs _
)
public virtual void OnGiveFeedback(
    GiveFeedbackEventArgs e
)
public:
virtual void OnGiveFeedback(
    GiveFeedbackEventArgs^ e
)
abstract OnGiveFeedback : 
        e:GiveFeedbackEventArgs -> unit 
override OnGiveFeedback : 
        e:GiveFeedbackEventArgs -> unit 
public function OnGiveFeedback(
    e : GiveFeedbackEventArgs
)

Parameters

Remarks

If you do not want this method to change the pointer, GiveFeedbackEventArgs.UseDefaultCursor should be true.

.NET Framework Security

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace