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.2.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 | Diagram |
The Diagram |
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. |