編集

次の方法で共有


UICollectionViewDelegate_Extensions.ShouldSpringLoadItem Method

Definition

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

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static bool ShouldSpringLoadItem (this UIKit.IUICollectionViewDelegate This, UIKit.UICollectionView collectionView, Foundation.NSIndexPath indexPath, UIKit.IUISpringLoadedInteractionContext context);
static member ShouldSpringLoadItem : UIKit.IUICollectionViewDelegate * UIKit.UICollectionView * Foundation.NSIndexPath * UIKit.IUISpringLoadedInteractionContext -> bool

Parameters

This
IUICollectionViewDelegate

The instance on which this extension method operates.

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