UICollectionViewController.ItemSelected(UICollectionView, NSIndexPath) 方法

定义

指示已选择单元格。

[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

参数

collectionView
UICollectionView

此视图控制器管理的集合视图。

indexPath
NSIndexPath

受影响项的索引路径。

属性

适用于