編輯

共用方式為


UICollectionViewDelegate.ItemSelected(UICollectionView, NSIndexPath) Method

Definition

Indicates that the item at the specified index was selected.

[Foundation.Export("collectionView:didSelectItemAtIndexPath:")]
public virtual void ItemSelected (UIKit.UICollectionView collectionView, Foundation.NSIndexPath indexPath);
abstract member ItemSelected : UIKit.UICollectionView * Foundation.NSIndexPath -> unit
override this.ItemSelected : UIKit.UICollectionView * Foundation.NSIndexPath -> unit

Parameters

collectionView
UICollectionView

The collection view that originated the request.

indexPath
NSIndexPath
Attributes

Applies to