ASP.NET Pack Programmer's Guide
Factory.CreateContainerNode Method (RectangleF, Boolean)
See Also
 





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
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public ContainerNode CreateContainerNode (
    RectangleF bounds,
    bool foldable
)

Visual Basic  Copy Code

Public Function CreateContainerNode( _
    bounds As RectangleF, _
    foldable As Boolean _
) As ContainerNode

 Parameters

bounds

The initial bounding rectangle of the new node.

foldable

true if the container can be folded; otherwise, false.

 Return Value

The newly created ContainerNode instance.

 Remarks

The method creates a container node with the position and size specified by bounds. The parameter foldable specifies whether the container node is initially foldable. For further customization of the node, use the properties and methods of the ContainerNode class.

 See Also

CreateContainerNode Method Overload List
Factory Members
Factory Class
MindFusion.Diagramming Namespace