Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Interface IContentTypeAvailableModelSetting

Defines the signature for a component that is used to hold available page types settings for a model.

Namespace: EPiServer.DataAbstraction.RuntimeModel
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public interface IContentTypeAvailableModelSetting

Properties

Availability

Gets wether none PageType should be available to create under the PageType that has this attribute set.

Declaration
Availability Availability { get; }
Property Value
Type Description
Availability

true if no PageType is available; otherwise, false.

Exclude

Gets the typed pages that are not available under an instance of a page of corresponding PageType.

Declaration
IEnumerable<Type> Exclude { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.Type>

The available page types.

ExcludeOn

Will exclude the typed page from the list of available PageType for the specified typed pages.

Declaration
IEnumerable<Type> ExcludeOn { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.Type>

The available page types.

Include

Gets the typed pages that are available under an instance of a page of corresponding PageType.

Declaration
IEnumerable<Type> Include { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.Type>

The available page types.

IncludeOn

Will make the typed page available as child under the specified typed pages.

Declaration
IEnumerable<Type> IncludeOn { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.Type>

The available page types.

Extension Methods