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) 。