Specifies the content types that children of this content type are allowed to have in the page or library hierarchy. Derived content types are not included automatically and must be specified explicitly.

[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = True, Inherited = False, AllowMultiple = True, Inherited = False, AllowMultiple = True, Inherited = False, AllowMultiple = True, Inherited = False, AllowMultiple = True, Inherited = False)]
public sealed class AllowChildrenAttribute: IContentTypeAttribute
Inheritance:
ObjectAttributeAllowChildrenAttribute
Implements:
IContentTypeAttribute

Constructors

AllowChildrenAttribute(Type) Default constructor.
AllowChildrenAttribute() Allows all child types.

Properties

ContentTypes Gets or sets the content types that children must have.

Methods

Apply(ContentTypeDefinition) Applies this attribute's settings to the content type definition. Automatically called by the Redakt system on startup.