Class GridLengthUnitType
Defines the constants that specify how the elements in a SfDataGrid are sized.
Inheritance
System.Object
GridLengthUnitType
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.UWP.dll
Syntax
public sealed class GridLengthUnitType : Enum
Fields
Auto
The size is based on the contents of both the cells and the column header.
Declaration
public const GridLengthUnitType Auto
Field Value
Type |
---|
GridLengthUnitType |
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.
Declaration
public const GridLengthUnitType AutoLastColumnFill
Field Value
Type |
---|
GridLengthUnitType |
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.
Declaration
public const GridLengthUnitType AutoWithLastColumnFill
Field Value
Type |
---|
GridLengthUnitType |
None
No sizing. The DefaultLineSize will be set for the columns.
Declaration
public const GridLengthUnitType None
Field Value
Type |
---|
GridLengthUnitType |
SizeToCells
The size is based on the contents of the cells.
Declaration
public const GridLengthUnitType SizeToCells
Field Value
Type |
---|
GridLengthUnitType |
SizeToHeader
The size is based on the contents of the column header.
Declaration
public const GridLengthUnitType SizeToHeader
Field Value
Type |
---|
GridLengthUnitType |
Star
The size is a weighted proportion of available space.
Declaration
public const GridLengthUnitType Star
Field Value
Type |
---|
GridLengthUnitType |