AbsoluteLayout.GetLayoutBounds(BindableObject) Method

Definition

Gets the layout bounds of bindable.

[Xamarin.Forms.TypeConverter(typeof(Xamarin.Forms.BoundsTypeConverter))]
public static Xamarin.Forms.Rectangle GetLayoutBounds (Xamarin.Forms.BindableObject bindable);
static member GetLayoutBounds : Xamarin.Forms.BindableObject -> Xamarin.Forms.Rectangle

Parameters

bindable
BindableObject

A visual element.

Returns

The layout bounds of the object.

Attributes

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.

Applies to