Show: Delphi C++
Display Preferences

FMX.Layouts.TCustomScrollBox.ContentBounds

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ContentBounds: TRectF read GetContentBounds;

C++

__property System::Types::TRectF ContentBounds = {read=GetContentBounds};

Properties

Type Visibility Source Unit Parent
property public
FMX.Layouts.pas
FMX.Layouts.hpp
FMX.Layouts TCustomScrollBox

Description

Keeps a rectangle bounding all controls in the content of this scroll box.

DoRealign calls DoCalcContentBounds to calculate the ContentBounds rectangle. If the OnCalcContentBounds event handler is defined, then DoRealign calls this event handler and passes into it the calculated content bounding rectangle for additional calculations.

The ContentBounds property is read-only. If the value returned by ContentBounds needs to be changed, you need to override DoCalcContentBounds or to assign the OnCalcContentBounds event handler.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance