NSCollectionViewDelegateFlowLayout.SizeForItem Method

Definition

[Foundation.Export("collectionView:layout:sizeForItemAtIndexPath:")]
public virtual CoreGraphics.CGSize SizeForItem (AppKit.NSCollectionView collectionView, AppKit.NSCollectionViewLayout collectionViewLayout, Foundation.NSIndexPath indexPath);
abstract member SizeForItem : AppKit.NSCollectionView * AppKit.NSCollectionViewLayout * Foundation.NSIndexPath -> CoreGraphics.CGSize
override this.SizeForItem : AppKit.NSCollectionView * AppKit.NSCollectionViewLayout * Foundation.NSIndexPath -> CoreGraphics.CGSize

Parameters

collectionView
NSCollectionView
collectionViewLayout
NSCollectionViewLayout
indexPath
NSIndexPath

Returns

Attributes

Applies to