This topic has not yet been rated - Rate this topic

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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
public virtual void OnDragOver(
	DiagramDragEventArgs e
)

Parameters

e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramDragEventArgs
The diagram drag event arguments.

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

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ