MindFusion.Wpf Pack Programmer's Guide
ContainerNode.Add Method (DiagramNode)
See Also
 





Adds a node to this container.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public void Add (
    DiagramNode node
)

Visual Basic  Copy Code

Public Sub Add( _
    node As DiagramNode _
)

 Parameters

node
The DiagramNode that should be added to the container.

 Remarks

By default, if container's bounding rectangle does not include specified node's bounds, the container grows automatically to accommodate the new node. To disable that, set AutoGrow to false.

Child nodes that have been added to a container are stored in its Children collection. The parent ContainerNode of a child node can be accessed via the Container property.

 See Also

ContainerNode Members
ContainerNode Class
MindFusion.Diagramming.Wpf Namespace
Remove Method
ClipChildren Property