GridLength GridLength Constructors

Definition

Overloads

GridLength(Double) GridLength(Double)

Initializes a new Absolute GridLength.

GridLength(Double, GridUnitType) GridLength(Double, GridUnitType)

Initializes a new GridLength.

GridLength(Double) GridLength(Double)

Initializes a new Absolute GridLength.

public GridLength (double value);
new Xamarin.Forms.GridLength : double -> Xamarin.Forms.GridLength

Parameters

value
Double Double

The value of the new grid length.

Remarks

This is striclty equivalent to new GridLength (value, GridUnitType.Absolute).

GridLength(Double, GridUnitType) GridLength(Double, GridUnitType)

Initializes a new GridLength.

public GridLength (double value, Xamarin.Forms.GridUnitType type);
new Xamarin.Forms.GridLength : double * Xamarin.Forms.GridUnitType -> Xamarin.Forms.GridLength

Parameters

value
Double Double

The size of the GridLength.

type
GridUnitType GridUnitType

The GridUnitType (Auto, Star, Absolute) of the GridLength.

Applies to