[]
Returns the number of sections that are required to display the data.
public override sealed nint NumberOfSections(UICollectionView collectionView)
Public NotOverridable Overrides Function NumberOfSections(collectionView As UICollectionView) As IntPtr
| Type | Name | Description |
|---|---|---|
| UICollectionView | collectionView | Collection view displaying the sections. |
| Type | Description |
|---|---|
| nint | Number of sections required to display the data. The default is 1 (a collection must have at least one section). |