DiagramLite Programmer's Guide
Factory.CreateContainerNode Method (Point, Size, Boolean)
See Also
 





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

 Syntax

C#  Copy Code

public ContainerNode CreateContainerNode (
    Point location,
    Size size,
    bool foldable
)

Visual Basic  Copy Code

Public Function CreateContainerNode( _
    location As Point, _
    size As Size, _
    foldable As Boolean _
) As ContainerNode

 Parameters

location

The location of the ContainerNode object.

size

The size of the ContainerNode.

foldable

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

 Return Value

The newly created ContainerNode instance.

 Remarks

The method creates a container node at the position specified by location. The size of the container is set by size. The foldable parameter specifies whether the container node is initially foldable.

 See Also

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