Constraint.RelativeToParent(Func<RelativeLayout,Double>) Method

Definition

Returns a Constraint object that constrains an element relative to its parent's size.

public static Xamarin.Forms.Constraint RelativeToParent (Func<Xamarin.Forms.RelativeLayout,double> measure);
static member RelativeToParent : Func<Xamarin.Forms.RelativeLayout, double> -> Xamarin.Forms.Constraint

Parameters

measure
Func<RelativeLayout,Double>

A function that returns a double when passed a relative layout.

Returns

Constraint

Applies to