Skip to main content

TcxTreeListColumn.ApplyBestFit Method

Adjusts the column width to display content in full.

Declaration

procedure ApplyBestFit;

Remarks

Call the ApplyBestFit procedure to adjust the column width to display the longest cell value in full.

To limit the maximum width of a column when the ApplyBestFit procedure adjusts its size, use the column’s BestFitMaxWidth property.

End-User Functionality

Users can double-click the right border of a column header to adjust the column width to display its content in full when the Options.Sizing property and the Tree List control’s OptionsCustomizing.ColumnHorzSizing property are set to True.

See Also