UICollectionViewFlowLayout.ScrollDirection Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The scrolling direction, which is at right angles to the flow direction.
public virtual UIKit.UICollectionViewScrollDirection ScrollDirection { [Foundation.Export("scrollDirection")] get; [Foundation.Export("setScrollDirection:")] set; }
member this.ScrollDirection : UIKit.UICollectionViewScrollDirection with get, set
Property Value
The default value is Vertical.
- Attributes
Remarks
By default, cells are laid out with a left-to-right flow direction and wrap top-to-bottom. If the number of cells exceeds screen real estate, the UICollectionView will scroll vertically.
If the application developer sets ScrollDirection to Horizontal, cells will be laid out top-to-bottom and wrap left-to-right.