Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

In This Article

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

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v24.2.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