Partager via


GridUnitType

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

Gets the associated unit type for the GridLength.

value = object.GridUnitType

Property Value

Type: Enumeration

  • Auto The size is determined by the size properties of the content object.

  • Pixel The value is expressed in pixels.

  • Star The value is expressed as a weighted proportion of available space.

This property is read-only.

Managed Equivalent

GridUnitType

Applies To

GridLength

Version Information

Silverlight 2