GridLength Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.