UICollectionViewFlowLayout.SectionInset UICollectionViewFlowLayout.SectionInset Property


Insets between sections.

[get: Foundation.Export("sectionInset")]
[set: Foundation.Export("setSectionInset:")]
public virtual UIKit.UIEdgeInsets SectionInset { get; set; }
member this.SectionInset : UIKit.UIEdgeInsets with get, set

Property Value

The default value is {{0,0},{0,0}}.


Where MinimumInteritemSpacing and MinimumLineSpacing specify the distances between individual UICollectionViewCells, the SectionInset property specifies spacing between the headers and footers of a section and their component UICollectionViewCells.

Applies to