Partager via


CreateAction.OnMouseMove Method

Called when a MouseMove event has been dispatched to this MouseAction.

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

Syntax

'Déclaration
Protected Overrides Sub OnMouseMove ( _
    e As DiagramMouseEventArgs _
)
protected override void OnMouseMove(
    DiagramMouseEventArgs e
)
protected:
virtual void OnMouseMove(
    DiagramMouseEventArgs^ e
) override
abstract OnMouseMove : 
        e:DiagramMouseEventArgs -> unit 
override OnMouseMove : 
        e:DiagramMouseEventArgs -> unit 
protected override function OnMouseMove(
    e : DiagramMouseEventArgs
)

Parameters

Remarks

This method selects the mouse cursor because DiagramMouseEventArgs contains important hit-test information. The selected cursor is set via GetCursor.

.NET Framework Security

See Also

Reference

CreateAction Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace