UICollectionViewController.ShouldScrollToTop(UIScrollView) Method
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.
Whether the collection should scroll to its beginning.
[Foundation.Export("scrollViewShouldScrollToTop:")]
public virtual bool ShouldScrollToTop (UIKit.UIScrollView scrollView);
abstract member ShouldScrollToTop : UIKit.UIScrollView -> bool
override this.ShouldScrollToTop : UIKit.UIScrollView -> bool
Parameters
- scrollView
- UIScrollView
The scrollview that is associated with the collection view.
Returns
Returns true
if item should scroll to top, false
if not.
- Attributes