Search
Diagram.LinksRetainForm Property
See Also
 






Gets or sets whether links should maintain their forms if the nodes linked with those links are moved around.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public bool LinksRetainForm { get; set; }

Visual Basic  Copy Code

Public Property LinksRetainForm As Boolean

 Property Value

true to retain links' forms; otherwise, false. The default is false.

 Remarks

LinksRetainForm value is used to initialize the RetainForm property of new links. It has effect on links that have more than two control points. If the nodes that a link connects are moved around, usually only the segments at the ends of that link are updated, so that they stay connected to their respective nodes. In that case all intermediate control points stay where they are. However, if RetainForm is enabled, all control points will move simultaneously in a way they preserve their relative position to each other, and thus preserving the overall form of the link.

 See Also