Share via


IUICollectionViewDelegate.ItemSelected(UICollectionView, NSIndexPath) Method

Definition

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

[Foundation.Export("collectionView:didSelectItemAtIndexPath:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void ItemSelected(UIKit.UICollectionView collectionView, Foundation.NSIndexPath indexPath);
[<Foundation.Export("collectionView:didSelectItemAtIndexPath:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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