Vcl.ComCtrls.TWorkArea
Delphi
TWorkArea = class(TCollectionItem)
C++
class PASCALIMPLEMENTATION TWorkArea : public System::Classes::TCollectionItem
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | Vcl.ComCtrls |
Description
TWorkArea represents a rectangular subregion of a list view's client area.
Use TWorkArea to describe the dimensions and display characteristics of one work area of a list view component. Work areas divide the client area of a list view into logical subregions. The icons of the list view are then arranged within each work area, to provide an additional layer of organization.
Each list item in the list view belongs to a single work area. This association is based on whether the position of the list item falls within the bounding rectangle specified by the work area's Rect property.
In addition, If the list view's ShowWorkAreas property is true, the list view draws the work area, using its Color and DisplayName properties.
Note: Work areas are only used when the list view has a ViewStyle of vsIcon or vsSmallIcon.