The IDiagramConnection type exposes the following members.

Methods

  NameDescription
AddConnectionPoint
Adds a connection point to this connection at an appropriate position derived from the given Point. The newly created and added connection point is then returned.
Clone
Returns an IDiagramConnectionState that holds the property values of this IDiagramConnection as it is at the time this method is called.
GetCollisionBounds
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.
(Inherited from IDiagramConnectable.)
SetAs
Sets all the properties within this IDiagramConnection to be like the properties of the given IDiagramConnectionState.

See Also