Skip to main content

DiagramConnectionChangedEventArgs(DiagramConnector, DiagramItem, DiagramItem, Int32, Int32, PointFloat, PointFloat, ConnectorPointType) Constructor

Initializes a new instance of the DiagramConnectionChangedEventArgs class with the specified settings.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v23.2.dll

NuGet Package: DevExpress.Win.Diagram

Declaration

public DiagramConnectionChangedEventArgs(
    DiagramConnector connector,
    DiagramItem oldItem,
    DiagramItem newItem,
    int oldIndex,
    int newIndex,
    PointFloat oldPoint,
    PointFloat newPoint,
    ConnectorPointType connectorPointType
)

Parameters

Name Type Description
connector DiagramConnector

The connector whose beginning/ending item has been changed.

oldItem DiagramItem

The diagram item the connector has been detached from.

newItem DiagramItem

The diagram item the connector has been attached to.

oldIndex Int32

The index of the connection point on the diagram item the connector has been detached from.

newIndex Int32

The index of the connection point on the diagram item the connector has been attached to.

oldPoint PointFloat

The initial coordinates of the connection point which has been moved.

newPoint PointFloat

The current coordinates of the connection point which has been moved.

connectorPointType ConnectorPointType

The type of the connection point which has been moved.

Remarks

Instances of the DiagramConnectionChangedEventArgs class are automatically created, initialized and passed to the corresponding event handlers.

See Also