UICollectionView.IndexPathForCell(UICollectionViewCell) メソッド

定義

の を NSIndexPath 返します cell

[Foundation.Export("indexPathForCell:")]
public virtual Foundation.NSIndexPath IndexPathForCell (UIKit.UICollectionViewCell cell);
abstract member IndexPathForCell : UIKit.UICollectionViewCell -> Foundation.NSIndexPath
override this.IndexPathForCell : UIKit.UICollectionViewCell -> Foundation.NSIndexPath

パラメーター

cell
UICollectionViewCell

UICollectionViewCellインデックスが必要な 。

戻り値

指定した UICollectionViewCellNSIndexPath。 セルが null これに含まれていない f を返します UICollectionView

属性

適用対象