Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxTreeListColumn.ApplyBestFit Method

Adjusts the column width to display content in full.

#Declaration

Delphi
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