Skip to main content

DiagramConnectionChangedEventArgs(DiagramControl, DiagramConnector, DiagramItem, DiagramItem, Int32, Int32, Point, Point, ConnectorPointType) Constructor

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

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v24.1.dll

NuGet Package: DevExpress.Wpf.Diagram

Declaration

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

Parameters

Name Type Description
source DiagramControl

The DiagramControl that raised the event.

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 Point

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

newPoint Point

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

connectorPointType ConnectorPointType

The type of the connection point which has been moved.

See Also