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
container
AbstractControlContainer control which childs will be processed.
layout
LayoutStyleLayout style to use.
getBounds
Func<RectD>Returns rectangle in which layout is performed.
items
IReadOnlyList<AbstractControl>List of controls to layout.
Remarks
This is a default implementation which is called from OnLayout().