ShapeElement.OnMouseHover Method
Called when the mouse hovers over a shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Public Overridable Sub OnMouseHover ( _
e As DiagramPointEventArgs _
)
'Usage
Dim instance As ShapeElement
Dim e As DiagramPointEventArgs
instance.OnMouseHover(e)
public virtual void OnMouseHover(
DiagramPointEventArgs e
)
public:
virtual void OnMouseHover(
DiagramPointEventArgs^ e
)
public function OnMouseHover(
e : DiagramPointEventArgs
)
Parameters
e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramPointEventArgsDetails of the event such as mouse position.
Remarks
The default displays a tooltip.
.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