UICollectionView.GetLayoutAttributesForItem(NSIndexPath) メソッド

定義

指定した のレイアウト情報を返します UICollectionViewCell

[Foundation.Export("layoutAttributesForItemAtIndexPath:")]
public virtual UIKit.UICollectionViewLayoutAttributes GetLayoutAttributesForItem (Foundation.NSIndexPath indexPath);
abstract member GetLayoutAttributesForItem : Foundation.NSIndexPath -> UIKit.UICollectionViewLayoutAttributes
override this.GetLayoutAttributesForItem : Foundation.NSIndexPath -> UIKit.UICollectionViewLayoutAttributes

パラメーター

indexPath
NSIndexPath

NSIndexPathレイアウトされている目的のセルを示す 。

戻り値

UICollectionViewLayoutAttributesレイアウト属性を指定する オブジェクト。 nullが存在しないインデックスを指定する場合indexPathは を返します。

属性

適用対象