次の方法で共有


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

Remarks

The default displays a tooltip.

.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