UIKit.UICollectionView.IndexPathForItemAtPoint Method
Returns the Foundation.NSIndexPath for the point.

Syntax

[Foundation.Export("indexPathForItemAtPoint:")]
public virtual Foundation.NSIndexPath IndexPathForItemAtPoint (CoreGraphics.CGPoint point)

Parameters

point
The location in this UIKit.UICollectionView for which the index is desired.

Returns

The Foundation.NSIndexPath of the specified System.Drawing.PointF. Returns null f there is no component view at the specified location.

Remarks

This method relies on the values returned by the current UIKit.UICollectionViewLayout.

Requirements

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