New to Telerik UI for WinFormsStart a free 30-day trial

Defines values for specifying how the width of a column is adjusted.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public enum BestFitColumnMode

Fields

The column width adjusts to fit the contents of all cells (displayed and non-displayed)

C#
AllCells = 62

The column width adjusts to fit the contents of the displayed cells.

C#
DisplayedCells = 30

The column width adjusts to fit the contents of the displayed data cells.

C#
DisplayedDataCells = 2

The column width adjusts to fit the contents of the filter cell.

C#
FilterCells = 8

The column width adjusts to fit the contents of the header cell.

C#
HeaderCells = 4

The column width does not automatically adjust.

C#
None = 1

The column width adjusts to fit the contents of the summary row cell.

C#
SummaryRowCells = 16

The column width adjusts to fit the contents of the system cells.

C#
SystemCells = 28