Vcl.ComCtrls.TCustomListView.Items

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Items: TListItems read FListItems write SetItems stored AreItemsStored;

C++

__property TListItems* Items = {read=FListItems, write=SetItems, stored=AreItemsStored};

Properties

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

Description

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