Xamarin.Forms.RelativeLayout Members

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

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

Public Constructors

Creates a new Xamarin.Forms.RelativeLayout with default values.

Public Fields

static readonly
BoundsConstraintPropertyBindableProperty. Identifies the bindable property associated with RelativeLayout.GetBoundsConstraint/RelativeLayout.SetBoundsConstraint.
static readonly
HeightConstraintPropertyBindableProperty. Identifies the bindable property associated with the RelativeLayout.GetHeightConstraint / RelativeLayout.SetHeightConstraint methods.
static readonly
WidthConstraintPropertyBindableProperty. Identifies the width constraint.
static readonly
XConstraintPropertyBindableProperty. Identifies the constraint on X.
static readonly
YConstraintPropertyBindableProperty. Identifies the constraint on Y.

Public Properties

Public Methods

static
GetBoundsConstraint(BindableObject) : BoundsConstraint
Returns the bounds constraint of the bindable.
static
GetHeightConstraint(BindableObject) : Constraint
Returns the height constraint of the bindable.
static
GetWidthConstraint(BindableObject) : Constraint
Returns the width constraint of the bindable.
static
GetXConstraint(BindableObject) : Constraint
Returns the X constraint of the bindable.
static
GetYConstraint(BindableObject) : Constraint
Returns the Y constraint of the bindable.
static
SetBoundsConstraint(BindableObject, BoundsConstraint)
Sets value as a constraint on the bounds of bindable.

Protected Methods

override
LayoutChildren(double, double, double, double)
Lays out the RelativeLayout.Children in the specified rectangle.
override
OnAdded(View)
Called when a Xamarin.Forms.View is added to the RelativeLayout.Children collection.
override
OnRemoved(View)
Called when a Xamarin.Forms.View is removed from the RelativeLayout.Children collection.
override
OnSizeRequest(double, double) : SizeRequest
Called when this Xamarin.Forms.RelativeLayout has received a size request.