UICollectionViewDelegate_Extensions.ShouldSelectItem(IUICollectionViewDelegate, UICollectionView, NSIndexPath) Method

Definition

Whether the cell at the specified indexPath allows itself to be selected.

public static bool ShouldSelectItem (this UIKit.IUICollectionViewDelegate This, UIKit.UICollectionView collectionView, Foundation.NSIndexPath indexPath);
static member ShouldSelectItem : UIKit.IUICollectionViewDelegate * UIKit.UICollectionView * Foundation.NSIndexPath -> bool

Parameters

This
IUICollectionViewDelegate

The instance on which this extension method operates.

collectionView
UICollectionView

The collection view that originated the request.

indexPath
NSIndexPath

Returns

Applies to