Vcl.ComCtrls.TCustomListView.ShowWorkAreas

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ShowWorkAreas: Boolean read FShowWorkAreas write SetShowWorkAreas default False;

C++

__property bool ShowWorkAreas = {read=FShowWorkAreas, write=SetShowWorkAreas, default=0};

Properties

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

Description

Determines whether the visual properties of work areas are displayed.

Set ShowWorkAreas to specify whether the list view should paint each work area in its own color and labeled by its display name. If the list view's WorkAreas property includes any work areas, the icons in the list view are always grouped visually by these work areas. ShowWorkAreas determines whether the properties of individual work area components are used to make each area stand out visually.

When ShowWorkAreas is true, each work area is painted in the color specified by its Color property and labeled by the string in its DisplayName property. When ShowWorkAreas is false, icons appear grouped by work areas, but there is no other visual indication.

Note: To use work areas in a list view, the ViewStyle property must be set to vsIcon or vsSmallIcon.

Warning: Work areas are not supported if the OwnerData property is true.

See Also