Since: BlackBerry 10.2.0
Rails policies that can be applied to the scrolling behavior of a scrollable control (for example, a ScrollView).
A rails policy specifies how scrolling behaves in response to a user's dragging gestures. If scrolling is not locked to an axis, the control will scroll in any direction, emulating the dragging movements of the user. Even if the user's intent is to scroll in a single direction (i.e. vertically), slight movements along the horizontal axis will be reflected as well.
If scrolling is locked, and a dragging gesture occurs roughly along a particular axis, railing is enabled and scrolling becomes locked along that axis.
The rails policies for scrolling.
- Default = 0x0
The default rails policy.
The system determines the rails policy.Since:
- None = 0x1
No rails policy.
Railing is not applied, and free scrolling is permitted.Since:
- LockNearAxes = 0x2
Enables railing when scrolling occurs along a particular axis.
If scrolling is initiated roughly along a single axis, railing is enabled and scrolling will lock to that axis. If scrolling is not initiated along any single axis, scrolling will not lock.Since: