UICollectionViewLayout.RegisterClassForDecorationView(Type, NSString) Method

Definition

Registers the class identified by kind as a decoration view.

public void RegisterClassForDecorationView (Type viewType, Foundation.NSString kind);
member this.RegisterClassForDecorationView : Type * Foundation.NSString -> unit

Parameters

viewType
Type

The type of the class that will provide the decoration. Use null to unregister the previous.

kind
NSString

The element kind for which the registered type will be used.

Applies to