AbsoluteLayout.GetLayoutBounds(BindableObject) AbsoluteLayout.GetLayoutBounds(BindableObject) Method


Gets the layout bounds of bindable.

public static Xamarin.Forms.Rectangle GetLayoutBounds (Xamarin.Forms.BindableObject bindable);
static member GetLayoutBounds : Xamarin.Forms.BindableObject -> Xamarin.Forms.Rectangle


BindableObject BindableObject

A visual element.


The layout bounds of the object.


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