編輯

共用方式為


UICollectionViewSource.ItemSelected(UICollectionView, NSIndexPath) Method

Definition

Indicates that the item at the specified indexPath has been selected.

[Foundation.Export("collectionView:didSelectItemAtIndexPath:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
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