UICollectionView.CellForItem(NSIndexPath) メソッド

定義

指定した で を UICollectionViewCell 返します 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

パラメーター

indexPath
NSIndexPath

目的UICollectionViewCellNSIndexPath のセクションと項目のインデックスを示す 。

戻り値

UICollectionViewCellパラメーターにindexPath対応する 。 対応する UICollectionViewCellが存在しない場合、関数は を返します null

属性

適用対象