Düzenle

Aracılığıyla paylaş


UICollectionViewLayout.RegisterNibForDecorationView(UINib, NSString) Method

Definition

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

Applies to