Share via


IUICollectionViewDataSourcePrefetching Interface

Definition

Interface defining methods for collection view data source's that may prefetch data.

[Foundation.Protocol(Name="UICollectionViewDataSourcePrefetching", WrapperType=typeof(UIKit.UICollectionViewDataSourcePrefetchingWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="PrefetchItems", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UICollectionView), typeof(Foundation.NSIndexPath[]) }, Selector="collectionView:prefetchItemsAtIndexPaths:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CancelPrefetching", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UICollectionView), typeof(Foundation.NSIndexPath[]) }, Selector="collectionView:cancelPrefetchingForItemsAtIndexPaths:")]
public interface IUICollectionViewDataSourcePrefetching : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UICollectionViewDataSourcePrefetching", WrapperType=typeof(UIKit.UICollectionViewDataSourcePrefetchingWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="PrefetchItems", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UICollectionView), typeof(Foundation.NSIndexPath[]) }, Selector="collectionView:prefetchItemsAtIndexPaths:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="CancelPrefetching", ParameterByRef=new System.Boolean[] { false, false }, ParameterType=new System.Type[] { typeof(UIKit.UICollectionView), typeof(Foundation.NSIndexPath[]) }, Selector="collectionView:cancelPrefetchingForItemsAtIndexPaths:")>]
type IUICollectionViewDataSourcePrefetching = interface
    interface INativeObject
    interface IDisposable
Attributes
Implements

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
CancelPrefetching(UICollectionView, NSIndexPath[])
PrefetchItems(UICollectionView, NSIndexPath[])

Developers override this method to prefetch the data at the specified indexPaths.

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)
CancelPrefetching(IUICollectionViewDataSourcePrefetching, UICollectionView, NSIndexPath[])

Applies to