UIKit.UICollectionView.RegisterNibForSupplementaryView Method
Specifies the nib to be used for populating the supplementary view.

Syntax

public void RegisterNibForSupplementaryView (UINib nib, UICollectionElementKindSection section, Foundation.NSString reuseIdentifier)

Parameters

nib
The UIKit.UINib to be used to populate the supplementary view.
section
The kind of supplementary view being registered.
reuseIdentifier
A non-empty string to be associated with the nib.

Remarks

The UIKit.UICollectionView maintains a highly-efficient reuse queue for offscreen components. This requires that the UIKit.UICollectionView be responsible for the lifecycle management of its component views. This method (and related methods such as UICollectionView.RegisterNibForCell) provide the UIKit.UICollectionView the knowledge of which types it needs to instantiate.

The application developer may pass null as the reuseIdentifier, in which case the nib will be "un-registered" and no longer instantiated. The application developer may pass in a reuseIdentifier previously associated with another nib, in which case the old nib will be "de-registered" and the new nib will be used.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0