Constraint 클래스

정의

RelativeLayout에서 사용하는 레이아웃 제약 조건입니다.

[Xamarin.Forms.TypeConverter(typeof(Xamarin.Forms.ConstraintTypeConverter))]
public sealed class Constraint
type Constraint = class
상속
Constraint
특성

메서드

Constant(Double)

요소를 size로 제한하는 Constraint 개체를 반환합니다.

FromExpression(Expression<Func<Double>>)

expression에서 계산된 Constraint를 반환합니다.

RelativeToParent(Func<RelativeLayout,Double>)

부모의 크기를 기준으로 요소를 제한하는 Constraint 개체를 반환합니다.

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

view 매개 변수를 기준으로 요소를 제한하는 Constraint 개체를 반환합니다.

적용 대상