Partager via


UICollectionViewFlowLayout.ItemSize Propriété

Définition

Taille par défaut des UICollectionViewCells affichés.

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

Valeur de propriété

La valeur par défaut est {50,50}.

Attributs

Remarques

Peut être personnalisé avec la GetSizeForItem(UICollectionView, UICollectionViewLayout, NSIndexPath) méthode .

S’applique à