UICollectionViewLayout.RegisterClassForDecorationView(Type, 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 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.