Xamarin.Forms Guides | Samples

Xamarin.Forms.StackLayout.LayoutChildren Method

Positions and sizes the children of a StackLayout.

Syntax

protected override Void LayoutChildren (Double x, Double y, Double width, Double height)

Parameters

x
A value representing the x coordinate of the child region bounding box.
y
A value representing the y coordinate of the child region bounding box.
width
A value representing the width of the child region bounding box.
height
A value representing the height of the child region bounding box.

Remarks

Implementors wishing to change the default behavior of a StackLayout should override this method. It is suggested to still call the base method and modify its calculated results.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0, 1.3.3.0, 1.4.0.0, 1.5.0.0, 2.0.0.0