API:Vcl.ControlList.TControlList.ItemCount

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ItemCount: Integer read GetItemCount write SetItemCount default 0;

C++

__property ItemCount = {default=0};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ControlList.pas
Vcl.ControlList.hpp
Vcl.ControlList TControlList

Description

Specifies the number of items in the control list.

Vcl.ControlList.TControlList.ItemCount inherits from Vcl.ControlList.TCustomControlList.ItemCount. All content below this line refers to Vcl.ControlList.TCustomControlList.ItemCount.

Specifies the number of items in the control list.

Use ItemCount to determine the number of items displayed by the control list. ItemCount is the number of all items, not just those that are visible at one time. The maximum number of items is automatically limited by MaxInt div <item height>, which by default is around 30 millions.