Method DefaultOnLayout
DefaultOnLayout(AbstractControl, LayoutStyle, Func<RectD>, IReadOnlyList<AbstractControl>)
Called when the control should reposition its child controls.
public static void DefaultOnLayout(AbstractControl container, LayoutStyle layout, Func<RectD> getBounds, IReadOnlyList<AbstractControl> items)
Parameters
containerAbstractControlContainer control which children will be processed.
layoutLayoutStyleLayout style to use.
getBoundsFunc<RectD>Returns rectangle in which layout is performed.
itemsIReadOnlyList<AbstractControl>List of controls to layout.
Remarks
This is a default implementation which is called from OnLayout().