Constraint.RelativeToView 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 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>