Gets or sets whether links should maintain their forms if the nodes linked with those links are moved around.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
C# Copy Code |
---|
public bool LinksRetainForm { get; set; } |
Visual Basic Copy Code |
---|
Public Property LinksRetainForm As Boolean |
true to retain links' forms; otherwise, false. The default is false.
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 one to another, and thus preserving the overall form of the link.
NetDiagram Programmer's Guide | © 2023 MindFusion |