ShapeElement.OnMouseEnter Method

Called when the mouse enters 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

'Declaração
Public Overridable Sub OnMouseEnter ( _
    e As DiagramPointEventArgs _
)
public virtual void OnMouseEnter(
    DiagramPointEventArgs e
)
public:
virtual void OnMouseEnter(
    DiagramPointEventArgs^ e
)
abstract OnMouseEnter : 
        e:DiagramPointEventArgs -> unit 
override OnMouseEnter : 
        e:DiagramPointEventArgs -> unit 
public function OnMouseEnter(
    e : DiagramPointEventArgs
)

Parameters

Remarks

Override this to provide special visual effects when the mouse is over a shape. Call the base method.

.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