Constraint Clase

Definición

Una restricción de diseño utilizada por RelativeLayout.A layout constraint used by RelativeLayouts.

[Xamarin.Forms.TypeConverter(typeof(Xamarin.Forms.ConstraintTypeConverter))]
public sealed class Constraint
type Constraint = class
Herencia
Constraint
Atributos

Métodos

Constant(Double)

Devuelve un objeto Constraint que restringe un elemento a size.Returns a Constraint object that constrains an element to size.

FromExpression(Expression<Func<Double>>)

Devuelve un Constraint que se calcula a partir de expression.Returns a Constraint that is calculated from expression.

RelativeToParent(Func<RelativeLayout,Double>)

Devuelve un objeto Constraint que restringe un elemento con respecto al tamaño de su elemento primario.Returns a Constraint object that constrains an element relative to its parent's size.

RelativeToView(View, Func<RelativeLayout,View,Double>)

Devuelve un objeto Constraint que restringe un elemento con respecto al parámetro view.Returns a Constraint object that constrains an element relative to the view parameter.

Se aplica a