編輯

共用方式為


UICollectionViewFlowLayout.SectionInset Property

Definition

Insets between sections.

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

Property Value

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

Attributes

Remarks

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