Returns whether or not the connection can be relocated between the given connection point and connectable.

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

Syntax

C#
bool CanRelocateConnection(
	IDiagramModel diagram,
	IDiagramConnection connection,
	IDiagramConnectionPoint connectionPoint,
	ConnectionDropTarget dropTarget
)
Visual Basic (Declaration)
Function CanRelocateConnection ( _
	diagram As IDiagramModel, _
	connection As IDiagramConnection, _
	connectionPoint As IDiagramConnectionPoint, _
	dropTarget As ConnectionDropTarget _
) As Boolean

Parameters

diagram
Type: Mindscape.WpfDiagramming.Foundation..::.IDiagramModel
The IDiagramModel that the connection belongs to.
connection
Type: Mindscape.WpfDiagramming.Foundation..::.IDiagramConnection
The IDiagramConnection that is being relocated.
connectionPoint
Type: Mindscape.WpfDiagramming.Foundation..::.IDiagramConnectionPoint
The IDiagramConnectionPoint that the connection is still attached to.
dropTarget
Type: Mindscape.WpfDiagramming.Foundation..::.ConnectionDropTarget
Information about the potential destination that the connection is being relocated to.

Return Value

True if the connection can be relocated, otherwise false.

See Also