ConstraintExpression 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.
Defines a constraint relationship.
public class ConstraintExpression : Xamarin.Forms.Xaml.IMarkupExtension<Xamarin.Forms.Constraint>
type ConstraintExpression = class
interface IMarkupExtension<Constraint>
interface IMarkupExtension
- Inheritance
-
System.ObjectConstraintExpression
- Implements
Constructors
ConstraintExpression() |
Creates a new ConstraintExpression with default values. |
Properties
Constant |
Gets or sets the constant constraint value. |
ElementName |
Gets or sets the name of a source element against which to calculate the constraint. |
Factor |
Gets or sets the factor by which to scale a constrained dimension, relative to the source element. |
Property |
Gets or sets name of the property on the source element to use in the constraint calculation. |
Type |
Gets or sets the constraint type. |
Methods
ProvideValue(IServiceProvider) |
When implemented in a derived class, returns an object that is provided as the value of the target property for this markup extension. |
Explicit Interface Implementations
IMarkupExtension.ProvideValue(IServiceProvider) |
For internal use only. |