UICollectionViewDataSource.NumberOfSections(UICollectionView) Method

Definition

The number of sections in the UICollectionView.

[Foundation.Export("numberOfSectionsInCollectionView:")]
public virtual nint NumberOfSections (UIKit.UICollectionView collectionView);
abstract member NumberOfSections : UIKit.UICollectionView -> nint
override this.NumberOfSections : UIKit.UICollectionView -> nint

Parameters

collectionView
UICollectionView

The collection view that originated the request.

Returns

System.System.IntPtr System.nativeint
Attributes

Applies to