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.BestFitMaxWidth Property

Specifies the maximum width (in pixels) for the column with Best Fit applied.

#Declaration

Delphi
property BestFitMaxWidth: Integer read; write; default 0;

#Property Value

Type Default
Integer 0

#Remarks

Use this property to limit the column’s width to the specified number of pixels when applying Best Fit to the column. Set the BestFitMaxWidth property to 0 to remove the limitation on column width with Best Fit applied.

The BestFitMaxWidth property automatically updates by multiplying its current value by the form’s scaling factor every time it changes at design-time or runtime.

The default value of the BestFitMaxWidth property is 0.

See Also