UIKit.UICollectionView.IndexPathForCell Method
Returns the Foundation.NSIndexPath for the cell.

Syntax

[Foundation.Export("indexPathForCell:")]
public virtual Foundation.NSIndexPath IndexPathForCell (UICollectionViewCell cell)

Parameters

cell
The UIKit.UICollectionViewCell for which the index is desired.

Returns

The Foundation.NSIndexPath of the specified UIKit.UICollectionViewCell. Returns null f the cell is not in this UIKit.UICollectionView

Remarks

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0