Sdílet prostřednictvím


BoundsConstraint.FromExpression Metoda

Definice

BoundsConstraint Vrátí objekt, který obsahuje zkompilovanou verzi expression a je relativní k nebo parents zobrazením uvedeným v 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

Parametry

expression
System.Linq.Expressions.Expression<System.Func<Rectangle>>

Výraz, ze kterého se má zkompilovat omezení.

parents
System.Collections.Generic.IEnumerable<View>

Nadřazené objekty, které je třeba vzít v úvahu při kompilaci omezení.

Návraty

Platí pro