共用方式為


UICollectionViewDelegate_Extensions.ItemHighlighted 方法

定義

表示指定 indexPath 上的儲存格已反白顯示。

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

參數

This
IUICollectionViewDelegate

這個擴充方法運作所在的 實例。

collectionView
UICollectionView

產生要求的集合檢視。

indexPath
NSIndexPath

適用於