Represents a diagram node that can contain other nodes.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight
C#
![]() |
---|
public class ContainerNode : ShapeNode |
Visual Basic
![]() |
---|
Public Class ContainerNode |
By default, users can drag nodes into or out from a container interactively. To prevent this, disable the AllowAddChildren and AllowRemoveChildren properties.
The Children collection contains references to the child nodes of a container. Its Add and Remove methods can be used to add or remove nodes programmatically. The Container property of a node can be used to access its parent container.
A container node can be folded and unfolded, either interactively or programmatically, as specified through the Foldable and Folded properties.
ContainerNode inherits many other properties and methods from its base class, ShapeNode.
System.Object
System.Windows.DependencyObject
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
System.Windows.Controls.ContentControl
MindFusion.Diagramming.DiagramItem
MindFusion.Diagramming.DiagramNode
MindFusion.Diagramming.ShapeNode
MindFusion.Diagramming.ContainerNode