編集

次の方法で共有


UIScrollView.DirectionalLockEnabled Property

Definition

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.

Applies to