Search
CompositeNode Class
Remarks See Also
 





CompositeNode implements nodes whose appearance can be defined via composition of components and layout containers.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public class CompositeNode : DiagramNode, IComponentHost

Visual Basic  Copy Code

Public Class CompositeNode
    Inherits DiagramNode
    Implements IComponentHost

 Remarks

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.

 Inheritance Hierarchy

System.Object
    MindFusion.Diagramming.DiagramItem
        MindFusion.Diagramming.DiagramNode
            MindFusion.Diagramming.CompositeNode

 See Also