Vcl.ComCtrls.TListView.Items

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Items: TListItems read FListItems write SetItems stored AreItemsStored;

C++

__property Items;

Properties

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

Description

Contains the list of items displayed by the list view.

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

Contains the list of items displayed by the list view.

Use Items to directly access the TListItem objects that represent the items in the list. Setting this property at design time brings up the ListView Items Editor. Use this dialog to add or delete items or subitems, and to edit their display properties. At run time, use each item's Caption, ImageIndex, and StateIndex properties to change the appearance of the list items.

Warning: Items is read-only if the list view is in virtual mode. See OwnerData for more details.

See Also

Code Examples