FMX.Layouts.TScrollBox.OnCalcContentBounds

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property OnCalcContentBounds: TOnCalcContentBoundsEvent read FOnCalcContentBounds write FOnCalcContentBounds;

C++

__property OnCalcContentBounds;

Properties

Type Visibility Source Unit Parent
event published
FMX.Layouts.pas
FMX.Layouts.hpp
FMX.Layouts TScrollBox

Description

The event handler of this event is called to calculate the ContentBounds rectangle bounding all controls in the scrolling region.

The event handler of this event is called from DoRealign. At first DoRealign calls DoCalcContentBounds to calculate the ContentBounds rectangle. Then, 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.

See Also