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