ShapeElement.OnDragOver Method

Override this method to respond to the movement of the mouse over the shape. Set e.Effect to indicate the cursor feedback to the user.

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

Syntax

'Declaration
Public Overridable Sub OnDragOver ( _
    e As DiagramDragEventArgs _
)
'Usage
Dim instance As ShapeElement 
Dim e As DiagramDragEventArgs

instance.OnDragOver(e)
public virtual void OnDragOver(
    DiagramDragEventArgs e
)
public:
virtual void OnDragOver(
    DiagramDragEventArgs^ e
)
public function OnDragOver(
    e : DiagramDragEventArgs
)

Parameters

Remarks

A hit test is performed by the DiagramClientView and the event is fired to the most relevant ShapeElement.

.NET Framework Security

See Also

Reference

ShapeElement Class

ShapeElement Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace

Other Resources

How to Add a Drag and Drop Handler