UICollectionViewDelegateFlowLayout.GetSizeForItem 方法

定义

指定项的单元格的大小。

[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

参数

collectionView
UICollectionView
indexPath
NSIndexPath

返回

属性

适用于