Compartilhar via


DiagramPointEventArgs Constructors

Definition

Overloads

DiagramPointEventArgs()

Initializes a new instance of the DiagramPointEventArgs class.

DiagramPointEventArgs(DiagramPointEventArgs, DiagramClientView)

Initializes a new instance of the DiagramPointEventArgs class.

DiagramPointEventArgs(Int32, Int32, PointRelativeTo, DiagramClientView)

Initializes a new instance of the DiagramPointEventArgs class.

DiagramPointEventArgs()

Initializes a new instance of the DiagramPointEventArgs class.

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

Applies to

DiagramPointEventArgs(DiagramPointEventArgs, DiagramClientView)

Initializes a new instance of the DiagramPointEventArgs class.

public:
 DiagramPointEventArgs(Microsoft::VisualStudio::Modeling::Diagrams::DiagramPointEventArgs ^ pointArgs, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ diagramClientView);
public DiagramPointEventArgs (Microsoft.VisualStudio.Modeling.Diagrams.DiagramPointEventArgs pointArgs, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView diagramClientView);
new Microsoft.VisualStudio.Modeling.Diagrams.DiagramPointEventArgs : Microsoft.VisualStudio.Modeling.Diagrams.DiagramPointEventArgs * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> Microsoft.VisualStudio.Modeling.Diagrams.DiagramPointEventArgs
Public Sub New (pointArgs As DiagramPointEventArgs, diagramClientView As DiagramClientView)

Parameters

pointArgs
DiagramPointEventArgs

A DiagramPointEventArgs whose data will be used to initialize this instance.

diagramClientView
DiagramClientView

The DiagramClientView that the DiagramPointEventArgs originated from.

Applies to

DiagramPointEventArgs(Int32, Int32, PointRelativeTo, DiagramClientView)

Initializes a new instance of the DiagramPointEventArgs class.

public:
 DiagramPointEventArgs(int x, int y, Microsoft::VisualStudio::Modeling::Diagrams::PointRelativeTo pointRelativeTo, Microsoft::VisualStudio::Modeling::Diagrams::DiagramClientView ^ diagramClientView);
public DiagramPointEventArgs (int x, int y, Microsoft.VisualStudio.Modeling.Diagrams.PointRelativeTo pointRelativeTo, Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView diagramClientView);
new Microsoft.VisualStudio.Modeling.Diagrams.DiagramPointEventArgs : int * int * Microsoft.VisualStudio.Modeling.Diagrams.PointRelativeTo * Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientView -> Microsoft.VisualStudio.Modeling.Diagrams.DiagramPointEventArgs
Public Sub New (x As Integer, y As Integer, pointRelativeTo As PointRelativeTo, diagramClientView As DiagramClientView)

Parameters

x
Int32

horizontal mouse position in device units

y
Int32

vertical mouse position in device units

pointRelativeTo
PointRelativeTo

Indicates the point of reference from which the coordinates are relative.

diagramClientView
DiagramClientView

The DiagramClientView that the DiagramPointEventArgs originated from.

Applies to