Gets or sets whether nodes should automatically align to the borders of other nodes during user interaction.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public bool AutoAlignNodes { get; set; } |
Visual Basic Copy Code |
---|
Public Property AutoAlignNodes As Boolean |
true to align nodes, otherwise false. The default value is false.
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.
Diagramming for .NET MAUI Guide | © 2024 MindFusion |