MindFusion.Wpf Pack Programmer's Guide
Diagram.AutoAlignNodes Property
See Also
 





Gets or sets whether nodes should automatically align to the borders ot other nodes during user interaction.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public bool AutoAlignNodes { get; set; }

Visual Basic  Copy Code

Public Property AutoAlignNodes As Boolean

 Property Value

true to align nodes, otherwise false. The default value is false.

 Remarks

When either the horizontal or vertical borders of the dragged node are within AutoAlignDistance from the respective borders of a nearby node, the dragged node snaps to a position where the borders are aligned. In addition, an alignment guide that indicates which borders are aligned is drawn using the pen specified through AlignmentGuidePen.

 See Also

Diagram Members
Diagram Class
MindFusion.Diagramming.Wpf Namespace
AlignToGrid Property
AutoSnapLinks Property