Vcl.ComCtrls.TCustomListView.BoundingRect

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property BoundingRect: TRect read GetBoundingRect;

C++

__property System::Types::TRect BoundingRect = {read=GetBoundingRect};

Properties

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

Description

Denotes the bounding rectangle for the items in the list view.

Read BoundingRect to obtain the screen coordinates of a rectangle that encloses all the items in the list view. BoundingRect allows an application to adjust the size of the control to fit the items or to determine whether the mouse is over any of the list items.

Note: To use BoundingRect, the list view's ViewStyle property must be either vsIcon or vsSmallIcon.

See Also