共用方式為


ToolboxAction.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

'宣告
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

ToolboxAction Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace