ASP.NET Pack Programmer's Guide
DiagramLink.RetainForm Property
See Also
 





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
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public bool RetainForm { get; set; }

Visual Basic  Copy Code

Public Property RetainForm As Boolean

 Property Value

true to retain the form of this link; otherwise, false. Initialized with the value of LinksRetainForm.

 Remarks

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 one to another, and thus preserving the overall form of the link.

 See Also

DiagramLink Members
DiagramLink Class
MindFusion.Diagramming Namespace
AutoRoute Property
Dynamic Property