Xamarin.Forms.AbsoluteLayout.GetLayoutBounds Method
Gets the layout bounds of bindable.

Syntax

[Xamarin.Forms.TypeConverter(typeof(Xamarin.Forms.BoundsTypeConverter))]
public static Rectangle GetLayoutBounds (BindableObject bindable)

Parameters

bindable
A visual element.

Returns

The layout bounds of the object.

Remarks

This method supports the AbsoluteLayout.LayoutBounds XAML attached property. In XAML, Application developers can specify a comma-separated list—possibly with spaces—of four values that specify the bounding rectangle's position and dimensions. The first two values in the list must represent numbers. The latter two values may each either be numbers, or the string "AutoSize". The AbsoluteLayout.LayoutFlags attached property determines how the values in the list are interpreted to create the bounding rectangle.

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