共用方式為


MouseAction.OnMouseMove Method

Alerts listeners that the mouse has been moved over the diagram.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Protected Overridable Sub OnMouseMove ( _
    e As DiagramMouseEventArgs _
)
protected virtual void OnMouseMove(
    DiagramMouseEventArgs e
)
protected:
virtual void OnMouseMove(
    DiagramMouseEventArgs^ e
)
abstract OnMouseMove : 
        e:DiagramMouseEventArgs -> unit 
override OnMouseMove : 
        e:DiagramMouseEventArgs -> unit 
protected function OnMouseMove(
    e : DiagramMouseEventArgs
)

Parameters

Remarks

To modify the cursor, override GetCursor.

.NET Framework Security

See Also

Reference

MouseAction Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace