UICollectionViewController.NumberOfSections(UICollectionView) Method
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 number of sections in this UICollectionViewDataSource.
[Foundation.Export("numberOfSectionsInCollectionView:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual IntPtr NumberOfSections(UIKit.UICollectionView collectionView);
[<Foundation.Export("numberOfSectionsInCollectionView:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member NumberOfSections : UIKit.UICollectionView -> nativeint
override this.NumberOfSections : UIKit.UICollectionView -> nativeint
Parameters
- collectionView
- UICollectionView
The collection view that originated the request.
Returns
IntPtr
nativeint
Implements
- Attributes