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)
- Source:
- GridLength.cs
- Source:
- GridLength.cs
Initializes a new Absolute GridLength.
public:
GridLength(double value);
public GridLength (double value);
new Microsoft.Maui.GridLength : double -> Microsoft.Maui.GridLength
Public Sub New (value As Double)
Parameters
- value
- Double
The value of the new grid length.
Remarks
This is striclty equivalent to new GridLength (value, GridUnitType.Absolute).
Applies to
GridLength(Double, GridUnitType)
- Source:
- GridLength.cs
- Source:
- GridLength.cs
Initializes a new GridLength.
public:
GridLength(double value, Microsoft::Maui::GridUnitType type);
public GridLength (double value, Microsoft.Maui.GridUnitType type);
new Microsoft.Maui.GridLength : double * Microsoft.Maui.GridUnitType -> Microsoft.Maui.GridLength
Public Sub New (value As Double, type As GridUnitType)
Parameters
- value
- Double
The size of the GridLength.
- type
- GridUnitType
The GridUnitType (Auto, Star, Absolute) of the GridLength.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.