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.v24.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 | Diagram |
The connector whose beginning/ending item has been changed. |
old |
Diagram |
The diagram item the connector has been detached from. |
new |
Diagram |
The diagram item the connector has been attached to. |
old |
Int32 | The index of the connection point on the diagram item the connector has been detached from. |
new |
Int32 | The index of the connection point on the diagram item the connector has been attached to. |
old |
Point |
The initial coordinates of the connection point which has been moved. |
new |
Point |
The current coordinates of the connection point which has been moved. |
connector |
Connector |
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.