MindFusion.Wpf Pack Programmer's Guide
ContainerNode.Add Method (DiagramNode, AttachToNode)
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,
    AttachToNode attachType
)

Visual Basic  Copy Code

Public Sub Add( _
    node As DiagramNode, _
    attachType As AttachToNode _
)

 Parameters

node

The DiagramNode that should be added to the container.

attachType

An element of the AttachToNode enumeration.

 Remarks

If the container bounds do not include the specified node bounds, the container will grow automatically to accommodate the new node.

The attachType argument lets you associate the child node with a side or corner of the container, so the child moves or resizes along with the container when users modify the latter.

 See Also

Add Method Overload List
ContainerNode Members
ContainerNode Class
MindFusion.Diagramming.Wpf Namespace