UIKit.UIScrollView.PagingEnabled Property
If true then scrolling will stop on paging boundaries of the content view; scrolling occurs a page at a time.


[get: Foundation.Export("isPagingEnabled")]
[set: Foundation.Export("setPagingEnabled:")]
public virtual bool PagingEnabled { get; set; }



The default value is false.

The following image, from the "Page Control" demo in the "iOS Standard Controls" sample, shows the application in the middle of a swiping animation; portions of both the white and gray subviews are visible. If UIScrollView.PagingEnabled were left to the default false value, if the application user's finger was lifted at this point, the scrolling would stop with both views partially visible. If it were true, the closest view would "snap" into alignment (in this case, the white view).

Related content


Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: