FMX.Layouts.TPositionChangeEvent
C++
typedef void __fastcall (__closure *TPositionChangeEvent)(System::TObject* Sender, const System::Types::TPointF &OldViewportPosition, const System::Types::TPointF &NewViewportPosition, const bool ContentSizeChanged);
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| typedef | public | FMX.Layouts.hpp | FMX.Layouts | FMX.Layouts | 
Description
The method pointer type used to define OnViewportPositionChange events.
Event handlers of the TPositionChangeEvent type have the following parameters:
| Parameter | Description | 
|---|---|
| Sender | The FMX control that called the event handler. | 
| OldViewportPosition | The initial viewport position having the TPointF type. | 
| NewViewportPosition | The final viewport position having the TPointF type. | 
| ContentSizeChanged | Whether the content size is changed. |