Freigeben über


GridLength

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Represents the length of elements that support Star unit types.

<object property = "gridLengthString" ... />
object.property = "gridLengthString"

gridLengthString Grammar

doubleValue

- or -

starSizing

-or-

Auto

doubleValue

A row's height or a column's width, in pixels.

starSizing

The size expressed as a measure to fit rows or columns to available space. Star sizing includes the asterisk character (*), and optionally precedes the asterisk with an integer value that specifies a weighted factor versus other possible star sizings (for example, "3*").

Auto

The literal "Auto". Divides space that is not already claimed by other rows or columns.

Managed Equivalent

GridLength

Version Information

Silverlight 2