Xamarin.Forms Guides | Samples

Xamarin.Forms.ConstraintType Enumeration

Enumeration specifying whether a constraint is constant, relative to a view, or relative to its parent.

Syntax

public enum ConstraintType

Members

Member NameDescription
ConstantA constant constraint.
RelativeToParentA constraint that is relative to a parent element.
RelativeToViewA constraint that is relative to a view.

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, 1.4.0.0, 1.5.0.0, 2.0.0.0

The members of Xamarin.Forms.ConstraintType are listed below.

See Also: Enum

Public Fields

ConstantConstraintType. A constant constraint.
RelativeToParentConstraintType. A constraint that is relative to a parent element.
RelativeToViewConstraintType. A constraint that is relative to a view.