Vcl.ComCtrls.TWorkAreas.Items
Delphi
property Items[Index: Integer]: TWorkArea read GetItem write SetItem; default;
C++
__property TWorkArea* Items[int Index] = {read=GetItem, write=SetItem/*, default*/};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TWorkAreas |
Description
Provides indexed access to the TWorkArea objects.
Use Items to access the properties of the TWorkArea objects maintained by TWorkAreas.
Note: In C++ code, Items is the default property of TWorkAreas, so the name of the Items property can be left off when using this property. Thus the line
ListView1.WorkAreas.Items[0].Color := 'clLtGray';
Note: can be written
ListView1.WorkAreas[0].Color := 'clLtGray';