Vcl.ComCtrls.TCustomListView.AllocBy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AllocBy: Integer read FAllocBy write SetAllocBy default 0;

C++

__property int AllocBy = {read=FAllocBy, write=SetAllocBy, default=0};

Properties

Type Visibility Source Unit Parent
property protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomListView

Description

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