Constraint.RelativeToParent(Func<RelativeLayout,Double>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- System.Func<RelativeLayout,System.Double>
A function that returns a double
when passed a relative layout.