Search
Diagram.AutoAlignDistance Property
See Also
 





Gets or sets the maximal horizontal or vertical distance at which a node aligns to the borders ot other nodes.

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

 Syntax

C#  Copy Code

public double AutoAlignDistance { get; set; }

Visual Basic  Copy Code

Public Property AutoAlignDistance As Double

 Property Value

A double value specifying the maximal alignment distance. The default value is 8.

 Remarks

To enable node alignment, set AutoAlignNodes to true. When either the horizontal or vertical borders of the dragged node are within the specified distance from the respective borders of a nearby node, the dragged node snaps to a position where the borders are aligned.

 See Also