UICollectionViewDelegateFlowLayout.GetSizeForItem Method

Definition

The size of the specified item's cell.

[Foundation.Export("collectionView:layout:sizeForItemAtIndexPath:")]
public virtual CoreGraphics.CGSize GetSizeForItem (UIKit.UICollectionView collectionView, UIKit.UICollectionViewLayout layout, Foundation.NSIndexPath indexPath);
abstract member GetSizeForItem : UIKit.UICollectionView * UIKit.UICollectionViewLayout * Foundation.NSIndexPath -> CoreGraphics.CGSize
override this.GetSizeForItem : UIKit.UICollectionView * UIKit.UICollectionViewLayout * Foundation.NSIndexPath -> CoreGraphics.CGSize

Parameters

collectionView
UICollectionView
indexPath
NSIndexPath

Returns

Attributes

Applies to