Click or drag to resize
RadMultiColumnComboBoxElementBestFitColumns Method (Boolean, Boolean)
Widens / shrinks all columns based on the space required by the text in the columns.

Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView (in Telerik.WinControls.GridView.dll) Version: 2018.2.619.40 (2018.2.619.40)
Syntax
public void BestFitColumns(
	bool adjustComboBoxSize,
	bool bestFitAllRows
)

Parameters

adjustComboBoxSize
Type: SystemBoolean
Determines whether to adjust drop-down size according to columns width
bestFitAllRows
Type: SystemBoolean
Determines whether to calculate the optimal with by iterating all rows (including non-visible rows).
See Also