Skip to main content

TcxCustomListView.AllocBy Property

Indicates the number of items that can be stored by a list view.

Declaration

property AllocBy: Integer read; write; default 0;

Property Value

Type Default
Integer 0

Remarks

The AllocBy property defines the amount of memory the list view allocates to store the items. Before adding a large number of items, specify the number of items in the AllocBy property. This will allow the list view control to allocate the required memory as a single block rather than several smaller blocks. This will increase the performance of the list view.

The default value of the AllocBy property is 0.

See Also