-api-id | -api-type |
---|---|
M:Windows.UI.Xaml.GridLengthHelper.FromValueAndType(System.Double,Windows.UI.Xaml.GridUnitType) |
winrt method |
Creates a new GridLength value based on a possible number of pixels, and a GridUnitType. C# and Microsoft Visual Basic code should use the GridLength(Double,GridUnitType) constructor instead.
A numeric value. This might be a pixel height or width to specify, if type is specified as Pixel, or a factor, if type is specified as Star. This value is ignored if type is specified as Auto.
A value of the enumeration that specifies which unit type the GridLength represents.
The created GridLength.