DiagramPointEventArgs Constructor (Int32, Int32, PointRelativeTo, DiagramClientView^)

 

Initializes a new instance of the DiagramPointEventArgs class.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public:
DiagramPointEventArgs(
	int x,
	int y,
	PointRelativeTo pointRelativeTo,
	DiagramClientView^ diagramClientView
)

Parameters

x
Type: System::Int32

horizontal mouse position in device units

y
Type: System::Int32

vertical mouse position in device units

pointRelativeTo
Type: Microsoft.VisualStudio.Modeling.Diagrams::PointRelativeTo

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

diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams::DiagramClientView^

The DiagramClientView that the DiagramPointEventArgs originated from.

Return to top
Show: