Enum GridLengthUnitType
Defines the constants that specify how the elements in a SfDataGrid are sized.
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public enum GridLengthUnitType
Fields
| Name | Description |
|---|---|
| Auto | The size is based on the contents of both the cells and the column header. |
| AutoLastColumnFill | The size is based on the contents of both the cells and the column header with last column auto fill. The column to be filled can be any column. |
| AutoWithLastColumnFill | The size is based on the contents of both the cells and the column header with last column fill by default. The column to be filled can be any column. |
| None | No sizing. The DefaultLineSize will be set for the columns. |
| SizeToCells | The size is based on the contents of the cells. |
| SizeToHeader | The size is based on the contents of the column header. |
| Star | The size is a weighted proportion of available space. |