UICollectionView.GetLayoutAttributesForItem(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 layout information for the specified 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
Parameters
- indexPath
- NSIndexPath
A NSIndexPath indicating the desired cell being laid out.
Returns
A UICollectionViewLayoutAttributes object specifying layout attributes. Returns null
if the indexPath
specifies a non-existent index.
- Attributes