Поделиться через


UICollectionViewDelegate_Extensions.ShouldSelectItem Метод

Определение

Позволяет ли ячейка в указанном indexPath быть выбрана.

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

Параметры

This
IUICollectionViewDelegate

Экземпляр, с которым работает этот метод расширения.

collectionView
UICollectionView

Представление коллекции, из которого был создан запрос.

indexPath
NSIndexPath

Возвращаемое значение

Применяется к