MindFusion.Java Package Programmer's Guide
ContainerNode.getAutoGrow Method
See Also
 






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

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public boolean getAutoGrow ()

 Return Value

true to grow container's size automatically, or false otherwise. The default value is true.

 Remarks

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
com.mindfusion.diagramming Namespace
getAutoShrink Method
resizeToFitChildren Method