共用方式為


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

傳回

適用於