Xamarin.Forms.VisualElement.SizeAllocated Method
SizeAllocated is called during a layout cycle to signal the start of a sub-tree layout.

Syntax

protected void SizeAllocated (double width, double height)

Parameters

width
The newly allocated width.
height
The newly allocated height.

Remarks

Calling SizeAllocated will start a new layout cycle on the children of the element. Excessive calls to SizeAllocated may cause performance problems.

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