GridUnitType Enumeration
.NET Framework (current version)
Describes the kind of value that a GridLength object is holding.
Assembly: PresentationFramework (in PresentationFramework.dll)
| Member name | Description | |
|---|---|---|
| Auto | The size is determined by the size properties of the content object. | |
| Pixel | The value is expressed as a pixel. | |
| Star | The value is expressed as a weighted proportion of available space. |
Star sizing is used to distribute available space by weighted proportions.
In Extensible Application Markup Language (XAML), star values are expressed as * or 2*. In the first case, the row or column would receive one times the available space; in the second case, the row or column would receive two times the available space, and so on.
.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: