UICollectionViewFlowLayout.ItemSize UICollectionViewFlowLayout.ItemSize Property

Definition

The default size of the UICollectionViewCells being displayed.

[get: Foundation.Export("itemSize")]
[set: Foundation.Export("setItemSize:")]
public virtual CoreGraphics.CGSize ItemSize { get; set; }
member this.ItemSize : CoreGraphics.CGSize with get, set

Property Value

The default value is {50,50}.

Remarks

Can be customized with the GetSizeForItem(UICollectionView, UICollectionViewLayout, NSIndexPath) method.

Applies to