Search
VirtualConnectionPoint Members
Constructors Properties Methods
 


Represents the connection points of disconnected links.

The following tables list the members exposed by the VirtualConnectionPoint type.

 Public Constructors

  Name Description

VirtualConnectionPoint

Initializes a new instance of the VirtualConnectionPoint class.

 Public Properties

  Name Description

Anchor

Gets or sets the anchor point associated with the connection point. (Inherited from ConnectionPoint.)

Row

Gets the index of a constituent item within the associated node where the link represented by this connection point is connected, or -1, if the link is connected to the node itself. (Inherited from ConnectionPoint.)

 Protected Properties

  Name Description

Incoming

Gets a flag indicating whether this connection point is at the origin or the destination of the associated link. (Inherited from ConnectionPoint.)

Link

Gets the link associated with this connection point. (Inherited from ConnectionPoint.)

Node

Gets the node associated with this connection point. (Inherited from ConnectionPoint.)

 Public Methods

  Name Description

AddLinkToNode

ConnectionPoint.AddLinkToNode override.

AlignToNode

ConnectionPoint.AlignToNode override.

CalculateIntersections

Determines whether the end of a link should be aligned to the point where the node contour is intersected by the line connecting the centers of the connected nodes. (Inherited from ConnectionPoint.)

CanMoveLink

Checks whether the specified point, expressed in document coordinates, is a valid location for this connection point. (Inherited from ConnectionPoint.)

GetAnchorPos

Overloaded. Returns a point from the node's associated anchor pattern. (Inherited from ConnectionPoint.)

GetEndPoint

Calculates the coordinates of the this connection point expressed in document coordinates. (Inherited from ConnectionPoint.)

GetInitialPoint

Returns a point (usually the center of the bounding rectangle) contained within the associated node. (Inherited from ConnectionPoint.)

GetIntersection

Calculates the intersection point between the specified line segment and the contour of the node associated with this connection point. (Inherited from ConnectionPoint.)

GetNodeRect

Returns the bounding rectangle of the node associated with this connection point. (Inherited from ConnectionPoint.)

LinkChanges

Checks whether the relationship represented by the associated link would change if the link is attached to the specified node at the specified point. (Inherited from ConnectionPoint.)

NearestAnchorPoint

Returns the anchor point closest to the specified point from the node's associated anchor pattern. (Inherited from ConnectionPoint.)

NodesIntersect

Checks whether the node associated with the current connection point and the node associated with the specified connection point intersect. (Inherited from ConnectionPoint.)

PositionFromNode

Overloaded. Returns the position of the connection point. (Inherited from ConnectionPoint.)

RemoveLinkFromNode

ConnectionPoint.RemoveLinkFromNode override.

SameNode

Checks whether the current connection point and the specified connection point are associated with the same node. (Inherited from ConnectionPoint.)

 Protected Methods

  Name Description

GetNearestBorderPoint

Returns the nearest point lying on the node border. (Inherited from ConnectionPoint.)

UpdateFromPoint

Updates the connection state according to the specified point, without changing the related node. (Inherited from ConnectionPoint.)

 See Also