Constraint Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A layout constraint used by RelativeLayouts.
[Xamarin.Forms.TypeConverter(typeof(Xamarin.Forms.ConstraintTypeConverter))]
public sealed class Constraint
type Constraint = class
- Inheritance
-
System.ObjectConstraint
- Attributes
Methods
Constant(Double) |
Returns a Constraint object that constrains an element to |
FromExpression(Expression<Func<Double>>) |
Returns a Constraint that is calculated from |
RelativeToParent(Func<RelativeLayout,Double>) |
Returns a Constraint object that constrains an element relative to its parent's size. |
RelativeToView(View, Func<RelativeLayout,View,Double>) |
Returns a Constraint object that constrains an element relative to the |