FMX.Platform.TScrollingBehaviour
Delphi
TScrollingBehaviour = (BoundsAnimation, Animation, TouchTracking, AutoShowing);
C++
enum class DECLSPEC_DENUM TScrollingBehaviour : unsigned char { BoundsAnimation, Animation, TouchTracking, AutoShowing, sbBoundsAnimation _DEPRECATED_ATTRIBUTE3("Use TScrollingBehaviour.BoundsAnimation") = 0, sbAnimation _DEPRECATED_ATTRIBUTE3("Use TScrollingBehaviour.Animation") = 1, sbTouchTracking _DEPRECATED_ATTRIBUTE3("Use TScrollingBehaviour.TouchTracking") = 2, sbAutoShowing _DEPRECATED_ATTRIBUTE3("Use TScrollingBehaviour.AutoShowing") = 3 };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | FMX.Platform.pas FMX.Platform.hpp |
FMX.Platform | FMX.Platform |
Description
Enumerates the possible scrolling behavior options.
The TScrollingBehaviour options are used in TScrollBox and other classes implementing inertial scrolling.
Use GetScrollingBehaviour to retrieve the TScrollingBehaviours set of the scrolling behavior options active under the current platform.
The possible values of TScrollingBehaviour are listed in the following table:
Value | Meaning |
---|---|
BoundsAnimation |
Defines whether inertial moving of scrolling contents outside the boundaries of the visible area is enabled. See BoundsAnimation. |
Animation |
Defines whether inertial moving (animation) of the scroll view is customized by taking into account the DecelerationRate property when calculating parameters of inertial scrolling. See Animation. |
TouchTracking |
Defines whether tracking of scroll view by touch input (by using a finger or mouse) is enabled. See TouchTracking. |
AutoShowing |
Defines whether smooth hiding and showing of scroll bars are enabled. See AutoShowing. |