Gets or sets a value indicating whether the container should grow in size when nodes are added to it.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
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.
WpfDiagram Programmer's Guide | © 2024 MindFusion |