Xamarin.Forms.AbsoluteLayout Members

The members of Xamarin.Forms.AbsoluteLayout are listed below.

See Also: Inherited members from Xamarin.Forms.Layout<Xamarin.Forms.View>

Public Constructors

Initializes a new instance of the AbsoluteLayout class.

Public Fields

static readonly
LayoutBoundsPropertyBindableProperty. Implements the attached property that represents the layout bounds of child elements. Bindable at run time with the string "LayoutBounds". See Remarks.
static readonly
LayoutFlagsPropertyBindableProperty. Implements the attached property that contains the Xamarin.Forms.AbsoluteLayoutFlags values for child elements.

Public Properties

[read-only]
static
AutoSizedouble. A value that indicates that the width or height of the child should be sized to that childs native size.
[read-only]
ChildrenAbsoluteLayout.IAbsoluteList<View>. Gets the collection of child elements of the AbsoluteLayout.

Public Methods

static
GetLayoutBounds(BindableObject) : Rectangle
Gets the layout bounds of bindable.
static
GetLayoutFlags(BindableObject) : AbsoluteLayoutFlags
Gets the layout flags that were specified when bindable was added to an Xamarin.Forms.AbsoluteLayout.
static
SetLayoutBounds(BindableObject, Rectangle)
Sets the layout bounds of a view that will be used to size it when it is layed out.
static
SetLayoutFlags(BindableObject, AbsoluteLayoutFlags)
Sets the layout flags of a view that will be used to interpret the layout bounds set on it when it is added to the layout.

Protected Methods

override
LayoutChildren(double, double, double, double)
Positions and sizes the children of an AbsoluteLayout.
override
OnChildAdded(Element)
Called when a child is added to the Xamarin.Forms.AbsoluteLayout.
override
OnChildRemoved(Element)
Called when a child is removed from the Xamarin.Forms.AbsoluteLayout.
override
OnSizeRequest(double, double) : SizeRequest
Called during the measure pass of a layout cycle to get the desired size of the AbsoluteLayout.