Class AutoFitMode
Defines the constants that specify the mode to measure the width and height of the cell based on its content.
Inheritance
System.Object
AutoFitMode
Namespace: Syncfusion.UI.Xaml.Grid
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public sealed class AutoFitMode : Enum
Fields
Default
The cell size is calculated by calculating and comparing the size of each cell.
Declaration
public const AutoFitMode Default
Field Value
Type |
---|
AutoFitMode |
SmartFit
The cell size is calculated by longest string of the cell content.
Declaration
public const AutoFitMode SmartFit
Field Value
Type |
---|
AutoFitMode |