Gets or sets a value indicating whether a link should maintain its form if the nodes connected with that link are moved around.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public bool RetainForm { get; set; } |
Visual Basic Copy Code |
---|
Public Property RetainForm As Boolean |
true to retain the form of this link; otherwise, false. Initialized with the value of LinksRetainForm.
RetainForm is useful for 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.
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |