DataGridLengthUnitType Enum

Definition

Defines constants that specify how elements in a DataGrid are sized.

public enum class DataGridLengthUnitType
public enum DataGridLengthUnitType
type DataGridLengthUnitType = 
Public Enum DataGridLengthUnitType
Inheritance
DataGridLengthUnitType

Fields

Auto 0

The size is based on the contents of both the cells and the column header.

Pixel 1

The size is a fixed value expressed in pixels.

SizeToCells 2

The size is based on the contents of the cells.

SizeToHeader 3

The size is based on the contents of the column header.

Star 4

The size is a weighted proportion of available space.

Applies to