BoundsConstraint.FromExpression 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 BoundsConstraint object that contains the compiled version of expression
and is relative to either parents
or the views referred to in expression
.
public static Xamarin.Forms.BoundsConstraint FromExpression (System.Linq.Expressions.Expression<Func<Xamarin.Forms.Rectangle>> expression, System.Collections.Generic.IEnumerable<Xamarin.Forms.View> parents = default);
static member FromExpression : System.Linq.Expressions.Expression<Func<Xamarin.Forms.Rectangle>> * seq<Xamarin.Forms.View> -> Xamarin.Forms.BoundsConstraint
Parameters
- expression
- System.Linq.Expressions.Expression<System.Func<Rectangle>>
The expression from which to compile the constraint.
- parents
- System.Collections.Generic.IEnumerable<View>
The parents to consider when compiling the constraint.