Upravit

Sdílet prostřednictvím


UICollectionViewFlowLayout.ItemSize Property

Definition

The default size of the UICollectionViewCells being displayed.

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

Property Value

The default value is {50,50}.

Attributes

Remarks

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

Applies to