UICollectionView.CellForItem(NSIndexPath) 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 UICollectionViewCell at the specified NSIndexPath.
[Foundation.Export("cellForItemAtIndexPath:")]
public virtual UIKit.UICollectionViewCell CellForItem (Foundation.NSIndexPath indexPath);
abstract member CellForItem : Foundation.NSIndexPath -> UIKit.UICollectionViewCell
override this.CellForItem : Foundation.NSIndexPath -> UIKit.UICollectionViewCell
Parameters
- indexPath
- NSIndexPath
The NSIndexPath indicating the section and item index of the desired UICollectionViewCell.
Returns
The UICollectionViewCell corresponding to the indexPath
parameter. If there is no corresponding UICollectionViewCell, the function returns null
.
- Attributes