UICollectionViewLayout.RegisterNibForDecorationView(UINib, NSString) 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.
Registers the UINib for use as a template for decoration views.
[Foundation.Export("registerNib:forDecorationViewOfKind:")]
public virtual void RegisterNibForDecorationView (UIKit.UINib nib, Foundation.NSString kind);
abstract member RegisterNibForDecorationView : UIKit.UINib * Foundation.NSString -> unit
override this.RegisterNibForDecorationView : UIKit.UINib * Foundation.NSString -> unit
Parameters
- nib
- UINib
The object containing the cell definition, the nib file should contain a single UICollectionReusableView object.
This parameter can be null
.
- kind
- NSString
The element kind for which the registered type will be used.
- Attributes