Xamarin.Forms Guides | Samples

Xamarin.Forms.GridUnitType Enumeration

Enumerates values that control how the GridLength.Value property is interpreted for row and column definitions.

Syntax

public enum GridUnitType

Members

Member NameDescription
AbsoluteInterpret the GridLength.Value property value as the number of device-specific units.
AutoIgnore the GridLength.Value property value and choose a size that fits the children of the row or column.
StarInterpret the GridLength.Value property value as a proportional weight, to be laid out after rows and columns with GridUnitType.Absolute or GridUnitType.Auto are accounted for.

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.GridUnitType are listed below.

See Also: Enum

Public Fields

AbsoluteGridUnitType. Interpret the GridLength.Value property value as the number of device-specific units.
AutoGridUnitType. Ignore the GridLength.Value property value and choose a size that fits the children of the row or column.
StarGridUnitType. Interpret the GridLength.Value property value as a proportional weight, to be laid out after rows and columns with GridUnitType.Absolute or GridUnitType.Auto are accounted for.