Share via


NSCollectionViewDelegateFlowLayout.SizeForItem Method

Definition

[Foundation.Export("collectionView:layout:sizeForItemAtIndexPath:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreGraphics.CGSize SizeForItem(AppKit.NSCollectionView collectionView, AppKit.NSCollectionViewLayout collectionViewLayout, Foundation.NSIndexPath indexPath);
[<Foundation.Export("collectionView:layout:sizeForItemAtIndexPath:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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

Implements

Attributes

Applies to