UICollectionViewFlowLayout.ItemSize 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
所顯示 的預設 UICollectionViewCell 大小。
public virtual CoreGraphics.CGSize ItemSize { [Foundation.Export("itemSize")] get; [Foundation.Export("setItemSize:")] set; }
member this.ItemSize : CoreGraphics.CGSize with get, set
屬性值
預設值是 {50,50}。
- 屬性
備註
可以使用 方法自訂 GetSizeForItem(UICollectionView, UICollectionViewLayout, NSIndexPath) 。