Creates a new ContainerNode instance with the specified dimensions, optionally foldable, and adds it to the Nodes collection of the underlying diagram.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight
C#
![]() |
---|
public ContainerNode CreateContainerNode ( |
Visual Basic
![]() |
---|
Public Function CreateContainerNode( _ |
The initial bounding rectangle of the new node.
true if the container can be folded; otherwise, false.
The newly created ContainerNode instance.
The method creates a container node with the position and size specified by bounds. The foldable parameter specifies whether the container node is initially foldable.