Gets or sets a value indicating whether the items in the diagram are aligned to grid.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C#
![]() |
---|
public bool AlignToGrid { get; set; } |
Visual Basic
![]() |
---|
Public Property AlignToGrid As Boolean |
true if the grid is activated; otherwise, false. The default is true.
When the property is set to true, the sides of every newly created diagram item are aligned to the nearest grid points.
Diagramming for .NET MAUI Guide | © 2025 MindFusion |