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
'Declaration
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
- e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramPointEventArgs
Details of the event such as mouse position.
Remarks
Override this to provide special visual effects when the mouse is over a shape. Call the base method.
.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