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
'宣告
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
- e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramPointEventArgs
The diagram point 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