Search
TreeViewConnectionPoint Members
Constructors Properties Methods
 


Represents a connection between a link and a TreeViewNode.

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

 Public Constructors

  Name Description

TreeViewConnectionPoint

Overloaded. Initializes a new instance of the TreeViewConnectionPoint class.

 Public Properties

  Name Description

Item

Gets the item to which the link connects.

Node

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

RelativePosition

Gets or sets the position of this connection point, relative to the associated node's bounding rectangle, expressed in percents. (Inherited from ConnectionPoint.)

Row

ConnectionPoint.Row override.

 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.)

 Public Methods

  Name Description

AddLinkToNode

ConnectionPoint.AddLinkToNode override.

AnchorPointFromIndex

Returns the AnchorPoint instance with the specified index. (Inherited from ConnectionPoint.)

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.   (Inherited from ConnectionPoint.)

GetEndPoint

ConnectionPoint.GetEndPoint override.

GetInitialPoint

ConnectionPoint.GetInitialPoint override.

GetIntersection

ConnectionPoint.GetIntersection override.

GetNodeRect

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

LinkChanges

ConnectionPoint.LinkChanges override.

NodesIntersect

Checks whether the node associated with the current connection point and the node associated with the specified connection point intersect. (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.)

SaveEndRelative

ConnectionPoint.SaveEndRelative override.

 Protected Methods

  Name Description

GetNearestBorderPoint

ConnectionPoint.GetNearestBorderPoint override.

NearestAnchorPoint

ConnectionPoint.GetNearestAnchorPoint override.

UpdateFromPoint

Updates the connection stated according to the specified point, without changing the related node.

 See Also