Skip to main content

TcxTreeListOptionsBehavior.BestFitMaxRecordCount Property

Specifies the number of nodes whose contents will be taken into account in calculating the column‘s best-fit width.

Declaration

property BestFitMaxRecordCount: Integer read; write; default -1;

Property Value

Type
Integer

Remarks

This property is used by the ApplyBestFit method to check the contents of the specified number of visible nodes (starting from the top node in the View), so that columns will be adjusted to the widest contents of those nodes. Contents of other nodes will be ignored.

If the BestFitMaxRecordCount property is -1, then contents of all visible nodes will be checked (see the tree list’s AbsoluteVisibleItems property).

The default value of the BestFitMaxRecordCount property is -1.

See Also