GridUnitType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes the kind of value that a GridLength object is holding.
public enum class GridUnitType
[System.Security.SecurityCritical]
public enum GridUnitType
[<System.Security.SecurityCritical>]
type GridUnitType =
Public Enum GridUnitType
- Inheritance
- Attributes
Fields
Name | Value | Description |
---|---|---|
Auto | 0 | The size is determined by the size properties of the content object. |
Pixel | 1 | The value is expressed in pixels. |
Star | 2 | The value is expressed as a weighted proportion of available space. |
Remarks
This enumeration represents the .NET projection of the Windows Runtime (WinRT) GridUnitType
enum. For more information, see GridUnitType in the UWP API reference.