Vcl.ComCtrls.TWorkArea.Rect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Rect: TRect read FRect write SetRect;

C++

__property System::Types::TRect Rect = {read=FRect, write=SetRect};

Properties

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

Description

Indicates the portion of the list view's client area covered by the work area.

Set Rect to specify the sphere of influence of a work area. Rect is the bounding rectangle of a portion of the list view's client area. If Rect specifies a region larger than the list view's client area, the list view introduces scroll bars to support the logical size specified by Rect.

List items are assigned to the work area when they fall into the region of the list view bounded by Rect. If a list item falls into a region that is contained by more than one work area, it is assigned to the list item with the lowest Index property.

If the list view paints itself to display work areas, it paints the portion of its client area that is outlined by Rect using the color specified by the Color property.

See Also