UICollectionView.IndexPathForItemAtPoint(CGPoint) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the NSIndexPath for the point
.
[Foundation.Export("indexPathForItemAtPoint:")]
public virtual Foundation.NSIndexPath IndexPathForItemAtPoint (CoreGraphics.CGPoint point);
abstract member IndexPathForItemAtPoint : CoreGraphics.CGPoint -> Foundation.NSIndexPath
override this.IndexPathForItemAtPoint : CoreGraphics.CGPoint -> Foundation.NSIndexPath
Parameters
- point
- CGPoint
The location in this UICollectionView for which the index is desired.
Returns
The NSIndexPath of the specified PointF. Returns null
f there is no component view at the specified location.
- Attributes
Remarks
This method relies on the values returned by the current UICollectionViewLayout.