Vcl.ComCtrls.TWorkAreas.Items

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

property  Items[Index: Integer]: TWorkArea read GetItem write SetItem; default;

C++

__property TWorkArea* Items[int Index] = {read=GetItem, write=SetItem/*, default*/};

プロパティ

種類 可視性 ソース ユニット
property public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TWorkAreas

説明

TWorkArea オブジェクトへのインデックスによるアクセスを提供します。

Items を使用すると,TWorkAreas の管理する TWorkArea オブジェクトのプロパティにアクセスできます。

メモ:  C++ コードでは,ItemsTWorkAreas のデフォルトプロパティなので,このプロパティを使用するときは,プロパティ名を省略できます。したがって,次の行は,



ListView1.WorkAreas.Items[0].Color := 'clLtGray';



メモ:  次のように記述できます。



ListView1.WorkAreas[0].Color := 'clLtGray';



関連項目