Skip to main content

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

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

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.1.dll

NuGet Package: DevExpress.Win.Diagram

Declaration

public DiagramConnectionChangingEventArgs(
    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 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 PointFloat

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

newPoint PointFloat

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.

Remarks

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

See Also