UICollectionViewFlowLayout.HeaderReferenceSize UICollectionViewFlowLayout.HeaderReferenceSize Property


The default SizeF for section headers.|The defaultSizeF for section headers.

[get: Foundation.Export("headerReferenceSize")]
[set: Foundation.Export("setHeaderReferenceSize:")]
public virtual CoreGraphics.CGSize HeaderReferenceSize { get; set; }
member this.HeaderReferenceSize : CoreGraphics.CGSize with get, set

Property Value

The default value is {0,0}.


The header and footer elements of a UICollectionViewFlowLayout separate sections. They are horizontally laid out if if the ScrollDirection is Vertical, and vertically laid out if the ScrollDirection is Horizontal.

Applies to