Xamarin.Forms.GridLength Structure
Used to define the size (width/height) of Grid ColumnDefinition and RowDefinition.

See Also: GridLength Members

Syntax

[Xamarin.Forms.TypeConverter(typeof(Xamarin.Forms.GridLengthTypeConverter))]
public struct GridLength

Remarks

GridLength of type GridUnitType.Absolute represents exact size. The ones of type GridUnitType.Auto adapts for fitting the size of the elements in the gird column/row. GridLenght of type GridUnitType.Star are used to split the available size in proportional buckets.

This valuetype is readonly.

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