UIScrollView.DirectionalLockEnabled Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
If true
, and the user begins scrolling in one axis (i.e. horizontally) then the scroll view disables scrolling in the other axis (i.e. vertically).
public virtual bool DirectionalLockEnabled { [Foundation.Export("isDirectionalLockEnabled")] get; [Foundation.Export("setDirectionalLockEnabled:")] set; }
member this.DirectionalLockEnabled : bool with get, set
Property Value
- Attributes
Remarks
If this property is false
, then scrolling is permitted both horizontally and vertically.