UICollectionViewController.ItemSelected(UICollectionView, NSIndexPath) Method

Definition

Indicates that a cell 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

Collection view managed by this view controller.

indexPath
NSIndexPath

Index path for the affected item.

Attributes

Applies to