Edit

Share via


GridUnitType Enum

Definition

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
GridUnitType
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.

Applies to