Xamarin.Forms by Microsoft

<PackageReference Include="Xamarin.Forms" Version="4.4.0.991864" />

.NET API 1,219,184 bytes

 ConstraintExpression

Defines a constraint relationship.
public double Constant { get; set; }

Gets or sets the constant constraint value.

public string ElementName { get; set; }

Gets or sets the name of a source element against which to calculate the constraint.

public double Factor { get; set; }

Gets or sets the factor by which to scale a constrained dimension, relative to the source element.

public string Property { get; set; }

Gets or sets name of the property on the source element to use in the constraint calculation.

public ConstraintType Type { get; set; }

Gets or sets the constraint type.

public Constraint ProvideValue(IServiceProvider serviceProvider)

When implemented in a derived class, returns an object that is provided as the value of the target property for this markup extension.