Partager via


ShapeElement.OnMouseLeave Method

Called when the mouse leaves a shape.

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

Syntax

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

Parameters

Remarks

Override to implement effects such as special highlighting.

.NET Framework Security

See Also

Reference

ShapeElement Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace

Other Resources

How to: Intercept a Click on a Shape or Decorator

How to: Add a Drag-and-Drop Handler