DiagramLite Programmer's Guide
Diagram.AutoSnapLinks Property
See Also
 





Specifies whether link end points should automatically snap to the nearest diagram node.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

public bool AutoSnapLinks { get; set; }

Visual Basic  Copy Code

Public Property AutoSnapLinks As Boolean

 Property Value

true to snap links to nearest node, otherwise false; the default value is false.

 Remarks

Only nodes at a distance smaller than AutoSnapDistance are considered. A link does not snap to its current origin or destination nodes if that would create a self-loop.

 See Also

Diagram Members
Diagram Class
MindFusion.Diagramming Namespace