The DiagramConnectionBase<(Of <(TOutboundPoint, TInboundPoint, TMountedPoint>)>) type exposes the following members.

Constructors

Methods

  NameDescription
AddConnectionPoint
Adds a new mounted connection point to this connection.
ApplyPathfinding
Re-routes this connection using its pathfinder.
Clone
Gets the state of the connection for undo purposes.
GetCollisionBounds
Returns a Rect with a position being the same as the position of the given IDiagramConnectionPoint, and a size of 1 by 1. This Rect is the bounds to be taken into consideration when path finding to the given connection point.
OnDataChanged
Raises the DataChanged event.
OnPropertyChanged
Raises the PropertyChanged event.
(Inherited from ViewModelBase.)
Set<(Of <(T>)>)
Sets the value of a field, raising the PropertyChanged event if required.
(Inherited from ViewModelBase.)
SetAs
Sets all the properties of this connection to match those of the given connection.

Properties

  NameDescription
CanOriginateNewConnections
Gets whether the connection can allow a be the source of a new outgoing connection. The base class implementation always returns false.
CanReceiveNewConnections
When overridden in a derived class, gets whether the connection can be the destination of a new incoming connection.
ConnectionPoints
Returns all the IDiagramConnectionPoint objects currently attached to this connection.
Data
Gets or sets the data attached to this connection.
Diagram
Gets or sets the IDiagramModel that the connection belongs to.
FromConnectionPoint
Gets or sets the source of the connection. When setting the source, this connection is first removed from any original source.
IsUserModified
Gets or sets whether this connection has had one of its DiagramConnectionSegment objects modified by a user.
Pathfinder
Gets the IPathfinder used to find the segment path of this connection.
Segments
Returns all the DiagramConnectionSegment objects that build up this connection.
ToConnectionPoint
Gets or sets the destination of the connection. When setting the destination, this connection is first removed from any original destination.
ZOrder
Gets or sets the relative z-order.

Events

  NameDescription
DataChanged
Raised when the Data property changes.
PropertyChanged
Occurs when a property value changes.
(Inherited from ViewModelBase.)

See Also