Skip to main content

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

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

Namespace: DevExpress.Xpf.Diagram

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

NuGet Package: DevExpress.Wpf.Diagram

Declaration

public DiagramConnectionChangingEventArgs(
    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 is about to be changed.

oldItem DiagramItem

The diagram item the connector is about to be detached from.

newItem DiagramItem

The diagram item the connector is about to be attached to.

oldIndex Int32

The index of the connection point on the diagram item the connector is about to be detached from.

newIndex Int32

The index of the connection point on the diagram item the connector is about to be attached to.

oldPoint Point

The initial coordinates of the connection point which is about to be moved.

newPoint Point

The new coordinates of the connection point which is about to be moved.

connectorPointType ConnectorPointType

The type of the connection point which is about to be moved.

See Also