ShapeElement.OnMouseHover Method
Called when the mouse hovers over 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 OnMouseHover ( _
e As DiagramPointEventArgs _
)
public virtual void OnMouseHover(
DiagramPointEventArgs e
)
public:
virtual void OnMouseHover(
DiagramPointEventArgs^ e
)
abstract OnMouseHover :
e:DiagramPointEventArgs -> unit
override OnMouseHover :
e:DiagramPointEventArgs -> unit
public function OnMouseHover(
e : DiagramPointEventArgs
)
Parameters
- e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramPointEventArgs
Details 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