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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.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

  • e
    Type: GiveFeedbackEventArgs

    Any arguments to use when the pointer is dragged across the designer. For a list of arguments, see GiveFeedbackEventArgs.

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