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)
Syntax
'Declaration
Public Overridable Sub OnDragOver ( _
e As DiagramDragEventArgs _
)
public virtual void OnDragOver(
DiagramDragEventArgs e
)
public:
virtual void OnDragOver(
DiagramDragEventArgs^ e
)
abstract OnDragOver :
e:DiagramDragEventArgs -> unit
override OnDragOver :
e:DiagramDragEventArgs -> unit
public function OnDragOver(
e : DiagramDragEventArgs
)
Parameters
- e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramDragEventArgs
The diagram drag event arguments.
Remarks
A hit test is performed by the DiagramClientView and the event is fired to the most relevant ShapeElement.
.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.
See Also
Reference
Microsoft.VisualStudio.Modeling.Diagrams Namespace