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
- e
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramMouseEventArgs
A DiagramMouseEventArgs that contains event data.
Remarks
This method selects the mouse cursor because DiagramMouseEventArgs contains important hit-test information. The selected cursor is set via GetCursor.
.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.