DataGridLengthUnitType 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.
Defines constants that specify how elements in a DataGrid are sized.
public enum class DataGridLengthUnitType
public enum DataGridLengthUnitType
type DataGridLengthUnitType =
Public Enum DataGridLengthUnitType
- Inheritance
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.