Constraint.RelativeToView Method

Definition

Returns a Constraint object that constrains an element relative to the view parameter.

public static Xamarin.Forms.Constraint RelativeToView (Xamarin.Forms.View view, Func<Xamarin.Forms.RelativeLayout,Xamarin.Forms.View,double> measure);
static member RelativeToView : Xamarin.Forms.View * Func<Xamarin.Forms.RelativeLayout, Xamarin.Forms.View, double> -> Xamarin.Forms.Constraint

Parameters

view
View

The view for which to compute the constraint.

measure
System.Func<RelativeLayout,View,System.Double>

Returns

Applies to