Condividi tramite


ShapeElement.OnDragLeave Method

Called when the mouse moves out of a shape.

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

Syntax

'Dichiarazione
Public Overridable Sub OnDragLeave ( _
    e As DiagramPointEventArgs _
)
public virtual void OnDragLeave(
    DiagramPointEventArgs e
)
public:
virtual void OnDragLeave(
    DiagramPointEventArgs^ e
)
abstract OnDragLeave : 
        e:DiagramPointEventArgs -> unit 
override OnDragLeave : 
        e:DiagramPointEventArgs -> unit 
public function OnDragLeave(
    e : DiagramPointEventArgs
)

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

Microsoft.VisualStudio.Modeling.Diagrams Namespace

Other Resources

How to: Add a Drag-and-Drop Handler