共用方式為


GridLength Constructors

Definition

Overloads

GridLength(Double)

Initializes a new Absolute GridLength.

GridLength(Double, GridUnitType)

Initializes a new GridLength.

GridLength(Double)

Initializes a new Absolute GridLength.

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

Parameters

value
System.Double

The value of the new grid length.

Remarks

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

Applies to

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
System.Double

The size of the GridLength.

type
GridUnitType

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

Applies to