Syncfusion.SfGrid.WPF


AutoFitMode Property (ColumnSizerBase<T>)

Gets or sets a value that indicates the mode for calculating the width of the cell based on cell content. AutoFitMode.SmartFit calculates the column width in optimized way.
Syntax
'Declaration
 
Public Property AutoFitMode As AutoFitMode
'Usage
 
Dim instance As ColumnSizerBase(Of T)
Dim value As AutoFitMode
 
instance.AutoFitMode = value
 
value = instance.AutoFitMode
public AutoFitMode AutoFitMode {get; set;}

Property Value

One of the AutoFitMode enumeration that specifies the way to measure the width of the corresponding column. The default value is AutoFitMode.SmartFit.
AssemblyVersion

Syncfusion.SfGrid.WPF: 17.2460.0.34

See Also