UICollectionView.NumberOfSections Method

Definition

Returns the number of sections in the UICollectionView.

[Foundation.Export("numberOfSections")]
public virtual nint NumberOfSections ();
abstract member NumberOfSections : unit -> nint
override this.NumberOfSections : unit -> nint

Returns

System.System.IntPtr System.nativeint

The number of sections in the UICollectionView.

Attributes

Applies to