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
- e
Type: System.Windows.Forms.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
- 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.