UICollectionViewDelegateFlowLayout.GetSizeForItem 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指定之專案儲存格的大小。
[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
- layout
- UICollectionViewLayout
- indexPath
- NSIndexPath
傳回
- 屬性