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.
Public Property AutoFitMode As AutoFitMode
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.

Syncfusion.SfGrid.WPF: 17.3460.0.26

See Also