See Also: UICollectionViewFlowLayout Members
The UIKit.UICollectionViewFlowLayout lays out UIKit.UICollectionViewCells side-by-side, either horizontally or vertically. Component UIKit.UICollectionViewCells wrap at the boundaries. Cells are spaced in the direction of layout according to the UICollectionViewFlowLayout.MinimumInteritemSpacing property and rows (whether horizontal or vertical) are separated based on the UICollectionViewFlowLayout.MinimumLineSpacing property.
The direction of the flow layout is at right angles to the direction of the UICollectionViewFlowLayout.ScrollDirection property. In the following image, the flow layout is left-to-right and the UICollectionViewFlowLayout.ScrollDirection is UICollectionViewScrollDirection.Vertical.