[]
        
(Showing Draft Content)

C1.iOS.DataCollection.C1CollectionViewSource-1.NumberOfSections

NumberOfSections Method

NumberOfSections(UICollectionView)

Returns the number of sections that are required to display the data.

Declaration
public override sealed nint NumberOfSections(UICollectionView collectionView)
Parameters
Type Name Description
UICollectionView collectionView

Collection view displaying the sections.

Returns
Type Description
nint

Number of sections required to display the data. The default is 1 (a collection must have at least one section).