Returns the rectangle that is taken into consideration when a connection path is being constructed to the given IDiagramConnectionPoint. Generally, an IDiagramNode should return its bounds, and an IDiagramConnection should return a Rect with the position of the given IDiagramConnectionPoint and a size of 0.

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

Syntax

C#
Rect GetCollisionBounds(
	IDiagramConnectionPoint connectionPoint
)
Visual Basic (Declaration)
Function GetCollisionBounds ( _
	connectionPoint As IDiagramConnectionPoint _
) As Rect

Parameters

connectionPoint
Type: Mindscape.WpfDiagramming.Foundation..::.IDiagramConnectionPoint
The connection point to which a connection is being constructed.

Return Value

The collision bounds to be considered by the path routing algorithm.

See Also