Поделиться через


NSCollectionViewDelegateFlowLayout.SizeForItem Метод

Определение

[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

Параметры

collectionView
NSCollectionView
collectionViewLayout
NSCollectionViewLayout
indexPath
NSIndexPath

Возвращаемое значение

Атрибуты

Применяется к