Invokes when the components within this node are being arranged.
Namespace: MindFusion.Diagramming
Package: 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.