Partilhar via


MouseActionEventArgs Constructors

Definition

Overloads

MouseActionEventArgs()

Initializes an instance of the MouseActionEventArgs class.

MouseActionEventArgs(DiagramClientView, PointD, PointD, ActionRequest)

Initializes an instance of the MouseActionEventArgs class.

MouseActionEventArgs()

Initializes an instance of the MouseActionEventArgs class.

protected:
 MouseActionEventArgs();
protected MouseActionEventArgs ();
Protected Sub New ()

Applies to

MouseActionEventArgs(DiagramClientView, PointD, PointD, ActionRequest)

Initializes an instance of the MouseActionEventArgs class.

public:
 MouseActionEventArgs(Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ diagramClientView, Microsoft::VisualStudio::Modeling::Diagrams::PointD previousMousePosition, Microsoft::VisualStudio::Modeling::Diagrams::PointD currentMousePosition, Microsoft::VisualStudio::Modeling::Diagrams::ActionRequest actionRequest);
public MouseActionEventArgs (Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView diagramClientView, Microsoft.VisualStudio.Modeling.Diagrams.PointD previousMousePosition, Microsoft.VisualStudio.Modeling.Diagrams.PointD currentMousePosition, Microsoft.VisualStudio.Modeling.Diagrams.ActionRequest actionRequest);
new Microsoft.VisualStudio.Modeling.Diagrams.MouseActionEventArgs : Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView * Microsoft.VisualStudio.Modeling.Diagrams.PointD * Microsoft.VisualStudio.Modeling.Diagrams.PointD * Microsoft.VisualStudio.Modeling.Diagrams.ActionRequest -> Microsoft.VisualStudio.Modeling.Diagrams.MouseActionEventArgs
Public Sub New (diagramClientView As DiagramClientView, previousMousePosition As PointD, currentMousePosition As PointD, actionRequest As ActionRequest)

Parameters

diagramClientView
DiagramClientView

The DiagramClientView that the MouseAction is acting upon.

previousMousePosition
PointD

The mouse position prior to the event.
The position is in world coordinates relative to the diagram's top-left.

currentMousePosition
PointD

The mouse position when the event occurred.
The position is in world coordinates relative to the diagram's top-left.

actionRequest
ActionRequest

Applies to