UICollectionViewFlowLayout.MinimumLineSpacing UICollectionViewFlowLayout.MinimumLineSpacing Property


The minimum spacing between new lines of cells, in the direction of the ScrollDirection property (i.e., the opposite of the flow direction).

[get: Foundation.Export("minimumLineSpacing")]
[set: Foundation.Export("setMinimumLineSpacing:")]
public virtual nfloat MinimumLineSpacing { get; set; }
member this.MinimumLineSpacing : nfloat with get, set

Property Value

The default value is 10.


Can be customized with the GetMinimumLineSpacingForSection(UICollectionView, UICollectionViewLayout, nint) method.

Applies to