Xamarin.Forms Guides | Samples

Xamarin.Forms.Page.OnSizeAllocated Method

Indicates that the Page has been assigned a size.

Syntax

protected override Void OnSizeAllocated (Double width, Double height)

Parameters

width
The width allocated to the Page.
height
The height allocated to the Page.

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.4.0.0, 1.5.0.0, 2.0.0.0