Table of Contents

Method DefaultOnLayout

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

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 AbstractControl

Container control which childs will be processed.

layout LayoutStyle

Layout 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().