Gets or sets a value indicating whether the diagram items should be aligned to a grid.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public bool AlignToGrid { get; set; } |
Visual Basic Copy Code |
---|
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.
WpfDiagram Programmer's Guide | © 2024 MindFusion |