AllowChildrenAttribute.ModelTypes Property

AllowChildrenAttribute.ModelTypes Property

Gets or sets the model types that children must have. For page model children, types must be valid page models, and for content model children, types must be valid content models.

public IEnumerable<Type> ModelTypes { get; set; }

Property Value

IEnumerable<Type>