UICollectionViewDelegate.ShouldHighlightItem 方法

定义

在跟踪期间是否应突出显示指定的项。

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

参数

collectionView
UICollectionView

发起请求的集合视图。

indexPath
NSIndexPath

返回

属性

适用于