Initializes a new instance of the ConnectionRelocationInfo class. The given IDiagramModel must contain the IDiagramConnection.

Namespace:  Mindscape.WpfDiagramming.Foundation
Assembly:  Mindscape.WpfDiagramming.Foundation (in Mindscape.WpfDiagramming.Foundation.dll)
Version: 2.0.0.0 (2.0.0.0)

Syntax

C#
public ConnectionRelocationInfo(
	IDiagramModel model,
	IDiagramConnection connection,
	IDiagramConnectionPoint newSource,
	IDiagramConnectionPoint newDestination,
	IDiagramConnectionPoint oldSource,
	IDiagramConnectionPoint oldDestination
)
Visual Basic (Declaration)
Public Sub New ( _
	model As IDiagramModel, _
	connection As IDiagramConnection, _
	newSource As IDiagramConnectionPoint, _
	newDestination As IDiagramConnectionPoint, _
	oldSource As IDiagramConnectionPoint, _
	oldDestination As IDiagramConnectionPoint _
)

Parameters

model
Type: Mindscape.WpfDiagramming.Foundation..::.IDiagramModel
The IDiagramModel containing the given IDiagramConnection to be relocated.
connection
Type: Mindscape.WpfDiagramming.Foundation..::.IDiagramConnection
The IDiagramConnection to be relocated.
newSource
Type: Mindscape.WpfDiagramming.Foundation..::.IDiagramConnectionPoint
The new source of the connection. This may be the same as the old source.
newDestination
Type: Mindscape.WpfDiagramming.Foundation..::.IDiagramConnectionPoint
The new destination of the connection. This may be the same as the old destination.
oldSource
Type: Mindscape.WpfDiagramming.Foundation..::.IDiagramConnectionPoint
The old source of the connection before starting the relocation.
oldDestination
Type: Mindscape.WpfDiagramming.Foundation..::.IDiagramConnectionPoint
The old destination of the connection before starting the relocation.

See Also