DataGridLengthUnitType 列舉

定義

定義常數,這個常數可指定 DataGrid 中項目的大小調整方式。

public enum class DataGridLengthUnitType
public enum DataGridLengthUnitType
type DataGridLengthUnitType = 
Public Enum DataGridLengthUnitType
繼承
DataGridLengthUnitType

欄位

Auto 0

此大小是以儲存格及資料行標頭的內容為依據來調整。

Pixel 1

此大小是以像素表示的固定值。

SizeToCells 2

此大小是以儲存格的內容為依據來調整。

SizeToHeader 3

此大小是以資料行標頭的內容為依據來調整。

Star 4

此大小是可用空間的加權比例。

適用於