Language

UICollectionViewLayout.RegisterClassForDecorationView(Type, NSString) Method

Definition

Registers a class to use when creating decoration views of the specified kind.

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

Parameters

viewType
Type

The class to use for the decoration view, or null to unregister the current class.

kind
NSString

The element kind for which to use the registered class.

Applies to