Modifier

Partager via


UICollectionViewDelegate.ShouldSelectItem Method

Definition

Whether the specified item should be selected.

[Foundation.Export("collectionView:shouldSelectItemAtIndexPath:")]
public virtual bool ShouldSelectItem (UIKit.UICollectionView collectionView, Foundation.NSIndexPath indexPath);
abstract member ShouldSelectItem : UIKit.UICollectionView * Foundation.NSIndexPath -> bool
override this.ShouldSelectItem : UIKit.UICollectionView * Foundation.NSIndexPath -> bool

Parameters

collectionView
UICollectionView

The collection view that originated the request.

indexPath
NSIndexPath

Returns

Attributes

Applies to