Partager via


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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Déclaration
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.Int32
    horizontal mouse position in device units
  • y
    Type: System.Int32
    vertical mouse position in device units

.NET Framework Security

See Also

Reference

DiagramPointEventArgs Class

DiagramPointEventArgs Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace