Method | Description | |
---|---|---|
ConstrainLayout ( this view, Expression |
Constrains the layout of subviews according to equations and inequalities specified in constraints. Issue multiple constraints per call using the && operator. e.g. button.Frame.Left >= text.Frame.Right + 22 && button.Frame.Width == View.Frame.Width * 0.42f
|
|
ConstrainLayout ( this view, Expression |
Constrains the layout of subviews according to equations and inequalities specified in constraints. Issue multiple constraints per call using the && operator. e.g. button.Frame.Left >= text.Frame.Right + 22 && button.Frame.Width == View.Frame.Width * 0.42f
|
|
GetBaseline ( this viewFrame ) : nfloat |
The baseline of the view whose frame is viewFrame. Use only when defining constraints.
|
|
GetCenterX ( this viewFrame ) : nfloat |
The x coordinate of the center of the frame.
|
|
GetCenterY ( this viewFrame ) : nfloat |
The y coordinate of the center of the frame.
|
Method | Description | |
---|---|---|
CompileConstraint ( |
||
ConstantValue ( |
||
Eval ( |
||
FindConstraints ( |
||
GetRight ( |
||
GetViewAndAttribute ( |
||
IsConstant ( |
public static ConstrainLayout ( this view, Expression |
||
view | this | The superview laying out the referenced subviews. |
constraints | Expression |
Constraint equations and inequalities. |
return | NSLayoutConstraint[] |
public static ConstrainLayout ( this view, Expression |
||
view | this | The superview laying out the referenced subviews. |
constraints | Expression |
Constraint equations and inequalities. |
priority | UILayoutPriority | The priority of the constraints |
return | NSLayoutConstraint[] |
public static GetBaseline ( this viewFrame ) : nfloat | ||
viewFrame | this | |
return | nfloat |
public static GetCenterX ( this viewFrame ) : nfloat | ||
viewFrame | this | |
return | nfloat |
public static GetCenterY ( this viewFrame ) : nfloat | ||
viewFrame | this | |
return | nfloat |