編輯

共用方式為


UICollectionViewFlowLayout.MinimumInteritemSpacing Property

Definition

The minimum spacing between cells in the direction of the flow (i.e., between sides if horizontal, between bottom and top if vertical).

public virtual nfloat MinimumInteritemSpacing { [Foundation.Export("minimumInteritemSpacing")] get; [Foundation.Export("setMinimumInteritemSpacing:")] set; }
member this.MinimumInteritemSpacing : nfloat with get, set

Property Value

The default value is 10.

Attributes

Remarks

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

Applies to