Gets or sets a value indicating whether the container should grow in size when nodes are added to it.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public bool AutoGrow { get; set; } |
Visual Basic Copy Code |
---|
Public Property AutoGrow As Boolean |
true to grow container's size automatically, or false otherwise. The default value is true.
When AutoGrow is enabled, the container size will grow to include newly added nodes when they wouldn't fit in its current size. The new Bounds of the container is set to the union of bounding rectangles of all child nodes inflated by Margin.
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |