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