Vcl.ComCtrls.TListItem.Caption

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Caption: string read FCaption write SetCaption;

C++

__property System::UnicodeString Caption = {read=FCaption, write=SetCaption};

Properties

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

Description

Specifies the text that labels the item in the list.

Use Caption to name the list item. The Caption appears with an associated image that depends on the ViewStyle property of the list view.

If the ReadOnly property of the list view is false, the user can edit the caption.

See Also

Code Examples