The DiagramConnectionPointBase<(Of <(TConnection>)>) type exposes the following members.

Constructors

Methods

  NameDescription
AddConnection
Attaches the given IDiagramConnection to this IDiagramConnectionPoint.
OnPropertyChanged
Raises the PropertyChanged event.
(Inherited from ViewModelBase.)
RemoveConnection
Removes the given IDiagramConnection from this IDiagramConnectionPoint.
Set<(Of <(T>)>)
Sets the value of a field, raising the PropertyChanged event if required.
(Inherited from ViewModelBase.)
SetPosition
Sets the position of this DiagramConnectionPointBase<(Of <(TConnection>)>) to be a point on the connection that it is attached to that is closest to the given Point. The actual position that was set is then returned.

Properties

  NameDescription
CanOriginateNewConnections
Gets whether the user should be allowed to drag new connections from this connection point.
CanReceiveNewConnections
Gets whether the user should be allowed to drop new connections onto this connection point.
Connectable
Gets the IDiagramConnectable on which the IDiagramConnectionPoint is situated. This will either be a node or a connection.
Connections
Gets the connections attached to this connection point.
Data
Gets or sets the data object held by this connection point/>.
Edge
Returns the edge of the node that this DiagramConnectionPointBase will sit on according to its position calculator.
FlowDirection
Gets the direction of flow for this connection point.
Index
Gets an index identifier for this connection point. This is useful for selecting a connection point calculator when there are multiple connection points on the same edge of a node.
Position
Gets or sets the position of the connection point/>.
PositionCalculator
Gets or sets the IPositionCalculator that this connection point uses to calculate its position relative to the connectable it is attached to.

Events

  NameDescription
IndexChanged
Raised when the Index property value changes.
PositionChanged
Raised when the Position property value changes.
PropertyChanged
Occurs when a property value changes.
(Inherited from ViewModelBase.)

See Also