NetDiagram Programmer's Guide
ContainerNode.AutoGrow Property
See Also

Gets or sets a value indicating whether the container should grow in size when nodes are added to it.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming


C#  Copy Code

public bool AutoGrow { get; set; }

Visual Basic  Copy Code

Public Property AutoGrow As Boolean

 Property Value

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.

 See Also

ContainerNode Members
ContainerNode Class
MindFusion.Diagramming Namespace
AutoShrink Property