Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.16 KB

gridlengthhelper_fromvalueandtype_1327023031.md

File metadata and controls

31 lines (20 loc) · 1.16 KB
-api-id -api-type
M:Windows.UI.Xaml.GridLengthHelper.FromValueAndType(System.Double,Windows.UI.Xaml.GridUnitType)
winrt method

Windows.UI.Xaml.GridLengthHelper.FromValueAndType

-description

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.

-parameters

-param value

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.

-param type

A value of the enumeration that specifies which unit type the GridLength represents.

-returns

The created GridLength.

-remarks

-examples

-see-also