Xamarin.Forms Guides | Samples

Xamarin.Forms.VisualElement.Layout Method

Updates the bounds of the element during the layout cycle.

Syntax

public Void Layout (Rectangle bounds)

Parameters

bounds
The new bounds of the element.

Remarks

Calling Layout will trigger a layout cycle for the sub-tree of this element.

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