Creates a new ContainerNode instance at the specified location with the specified size, 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 x-coordinate of the upper-left corner of the new node.
The y-coordinate of the upper-left corner of the new node.
The width of the new node.
The height of the new node.
true if the container can be folded; otherwise, false.
The newly created ContainerNode instance.
The method creates a container node at the position specified by x and y. The size of the container is set by width and height. The foldable parameter specifies whether the container node is initially foldable.