API:Vcl.ComCtrls.TListView.AllocBy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AllocBy;

C++

__property AllocBy = {default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TListView

Description

Indicates the number of items the list view can store in memory.

Vcl.ComCtrls.TListView.AllocBy inherits from Vcl.ComCtrls.TCustomListView.AllocBy. All content below this line refers to Vcl.ComCtrls.TCustomListView.AllocBy.

Indicates the number of items the list view can store in memory.

Set AllocBy to the total number of items in the list before adding a large number of items to the list view. AllocBy allows the list view to allocate the memory for items in a single block at once rather than bit by bit as items are added.

See Also