Xamarin.Forms.ConstraintExpression Class
Defines a constraint relationship.

See Also: ConstraintExpression Members

Syntax

public class ConstraintExpression : Xamarin.Forms.Xaml.IMarkupExtension

Remarks

The Xamarin.Forms.ConstraintExpression class has the following XAML properties:

PropertyValue
Constant

An optionally signed integer literal.

ElementName

The name of a source element against which to calculate the constraint.

Factor

A decimal literal in the range (0,1].

Property

The name of the property on the source element to use in the constraint calculation.

Type

Constant, RelativeToParent, or RelativeToView.

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0