MouseActionEventArgs Constructor (DiagramClientView, PointD, PointD, ActionRequest)
Initializes an instance of the MouseActionEventArgs class.
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
Public Sub New ( _
diagramClientView As DiagramClientView, _
previousMousePosition As PointD, _
currentMousePosition As PointD, _
actionRequest As ActionRequest _
)
public MouseActionEventArgs(
DiagramClientView diagramClientView,
PointD previousMousePosition,
PointD currentMousePosition,
ActionRequest actionRequest
)
public:
MouseActionEventArgs(
DiagramClientView^ diagramClientView,
PointD previousMousePosition,
PointD currentMousePosition,
ActionRequest actionRequest
)
new :
diagramClientView:DiagramClientView *
previousMousePosition:PointD *
currentMousePosition:PointD *
actionRequest:ActionRequest -> MouseActionEventArgs
public function MouseActionEventArgs(
diagramClientView : DiagramClientView,
previousMousePosition : PointD,
currentMousePosition : PointD,
actionRequest : ActionRequest
)
Parameters
- diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView
The DiagramClientView that the MouseAction is acting upon.
- previousMousePosition
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
The mouse position prior to the event. The position is in world coordinates relative to the diagram's top-left.
- currentMousePosition
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
The mouse position when the event occurred. The position is in world coordinates relative to the diagram's top-left.
- actionRequest
Type: Microsoft.VisualStudio.Modeling.Diagrams.ActionRequest
.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.