CompositeNode implements nodes whose appearance can be defined via composition of components and layout containers.
Namespace: MindFusion.Diagramming
Assembly: 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
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |