Represents a node, which can hold components.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
C# Copy Code |
---|
public class CompositeNode : DiagramNode, IComponentHost |
Visual Basic Copy Code |
---|
Public Class CompositeNode |
Use the Components property to add components to the node. The components are arranged on top of each other by default. To apply custom arrangement logic either parent the components in a ContainerComponent, such as GridPanel, and add this ContainerComponent to the CompositeNode or override the ArrangeComponents method to apply custom arrangement logic.
To search for a component given its name, use the FindComponent method. To get a component at a specific position, use GetComponentAt.
For additional information about components, check the Components topic.
System.Object
MindFusion.Diagramming.DiagramItem
MindFusion.Diagramming.DiagramNode
MindFusion.Diagramming.CompositeNode