GridUnitType 列舉

定義

描述 GridLength 物件所保留之值的種類。Describes the kind of value that a GridLength object is holding.

public enum class GridUnitType
[System.Security.SecurityCritical]
public enum GridUnitType
type GridUnitType = 
Public Enum GridUnitType
繼承
GridUnitType
屬性

欄位

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.

備註

此列舉表示 Windows 執行階段(WinRT) GridUnitType 列舉的 .NET 投射。This enumeration represents the .NET projection of the Windows Runtime (WinRT) GridUnitType enum. 如需詳細資訊,請參閱 UWP API 參考中的gridunittype.autoFor more information, see GridUnitType in the UWP API reference.

適用於