Constraint Sınıf

Tanım

tarafından RelativeLayoutkullanılan düzen kısıtlaması.

[Xamarin.Forms.TypeConverter(typeof(Xamarin.Forms.ConstraintTypeConverter))]
public sealed class Constraint
type Constraint = class
Devralma
System.Object
Constraint
Öznitelikler

Yöntemler

Constant(Double)

Bir Constraint öğeyi sizeile kısıtlayan bir nesne döndürür.

FromExpression(Expression<Func<Double>>)

ile expressionhesaplanan bir Constraint döndürür.

RelativeToParent(Func<RelativeLayout,Double>)

Bir Constraint öğeyi üst öğesinin boyutuna göre kısıtlayan bir nesne döndürür.

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

Constraint Parametreye göre view bir öğeyi kısıtlayan bir nesne döndürür.

Şunlara uygulanır