UICollectionViewDelegate_Extensions.ShouldHighlightItem 方法

定义

指定 indexPath 中的单元格是否应允许突出显示自身。

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

参数

This
IUICollectionViewDelegate

此扩展方法在其上运行的实例。

collectionView
UICollectionView

发起请求的集合视图。

indexPath
NSIndexPath

返回

适用于