Share via


IUICollectionViewDelegate.ShouldSpringLoadItem Method

Definition

Method that is called to indicate whether the identified item should springload in the specified context.

[Foundation.Export("collectionView:shouldSpringLoadItemAtIndexPath:withContext:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool ShouldSpringLoadItem(UIKit.UICollectionView collectionView, Foundation.NSIndexPath indexPath, UIKit.IUISpringLoadedInteractionContext context);
[<Foundation.Export("collectionView:shouldSpringLoadItemAtIndexPath:withContext:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ShouldSpringLoadItem : UIKit.UICollectionView * Foundation.NSIndexPath * UIKit.IUISpringLoadedInteractionContext -> bool
override this.ShouldSpringLoadItem : UIKit.UICollectionView * Foundation.NSIndexPath * UIKit.IUISpringLoadedInteractionContext -> bool

Parameters

collectionView
UICollectionView

The collection view that originated the request.

indexPath
NSIndexPath

The index path to the item.

context
IUISpringLoadedInteractionContext

The spring-loaded interaction context.

Returns

Attributes

Applies to