Invokes when the components within this node are being arranged.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public virtual void ArrangeComponents ( |
Visual Basic Copy Code |
---|
Public Overridable Sub ArrangeComponents( _ |
The available space.
By default components are arranged on top of each other, in the order they were added to the Components collection. To apply more specialized arrangement add the components to a ContainerComponent (such as SimplePanel, StackPanel or GridPanel) then add this ContainerComponent as a child of the CompositeNode. The component system allows you to implement additional ContainerComponent-derived classes to apply custom arrangement logic.
Another way to apply custom arrangement is to derive from CompositeNode and override the ArrangeComponents method. Then position the components by setting their Bounds property.
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |