FMX.Layouts.TOnCalcContentBoundsEvent
Delphi
TOnCalcContentBoundsEvent = procedure (Sender: TObject; var ContentBounds: TRectF) of object;
C++
typedef void __fastcall (__closure *TOnCalcContentBoundsEvent)(System::TObject* Sender, System::Types::TRectF &ContentBounds);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | FMX.Layouts.pas FMX.Layouts.hpp |
FMX.Layouts | FMX.Layouts |
Description
The method pointer type used to define OnCalcContentBounds events.
Event handlers of the TOnCalcContentBoundsEvent type have the following parameters:
Parameter | Description |
---|---|
Sender
|
The FMX control that called the event handler. |
ContentBounds
|
The scrolling content bounding rectangle (the rectangle bounding all controls in the scrollable area) having the TPointF type. |