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)
Syntax
'Declaration
Public Sub New ( _
x As Integer, _
y As Integer, _
pointRelativeTo As PointRelativeTo, _
diagramClientView As DiagramClientView _
)
public DiagramPointEventArgs(
int x,
int y,
PointRelativeTo pointRelativeTo,
DiagramClientView diagramClientView
)
public:
DiagramPointEventArgs(
int x,
int y,
PointRelativeTo pointRelativeTo,
DiagramClientView^ diagramClientView
)
new :
x:int *
y:int *
pointRelativeTo:PointRelativeTo *
diagramClientView:DiagramClientView -> DiagramPointEventArgs
public function DiagramPointEventArgs(
x : int,
y : int,
pointRelativeTo : PointRelativeTo,
diagramClientView : DiagramClientView
)
Parameters
x
Type: System.Int32horizontal mouse position in device units
y
Type: System.Int32vertical mouse position in device units
pointRelativeTo
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointRelativeToIndicates the point of reference from which the coordinates are relative.
diagramClientView
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramClientViewThe DiagramClientView that the DiagramPointEventArgs originated from.
.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.