Table of Contents

Class ContentTypeCreate

Namespace
Kentico.Xperience.Admin.Base.UIPages
Assembly
Kentico.Xperience.Admin.Base.dll

Content type create page.

public sealed class ContentTypeCreate : CreatePage<DataClassInfo, ContentTypeEditSection>, IPage
Inheritance
object
ContentTypeCreate
Implements
Inherited Members
Extension Methods

Constructors

ContentTypeCreate(IFormComponentMapper, IFormDataBinder, IPageLinkGenerator, IContentTypeManager)

Initializes a new instance of the ContentTypeCreate class.

public ContentTypeCreate(IFormComponentMapper formComponentMapper, IFormDataBinder formDataBinder, IPageLinkGenerator pageLinkGenerator, IContentTypeManager contentItemTypeManager)

Parameters

formComponentMapper IFormComponentMapper
formDataBinder IFormDataBinder
pageLinkGenerator IPageLinkGenerator
contentItemTypeManager IContentTypeManager

Properties

ObjectType

Gets the OBJECT_TYPE_CONTENTTYPE object type.

protected override string ObjectType { get; }

Property Value

string

Methods

ConfigurePage()

Set up page's configuration. Configures UI page.

public override Task ConfigurePage()

Returns

Task

FinalizeInfoObject(DataClassInfo, IFormFieldValueProvider, CancellationToken)

Allows to modify values of infoObject before validation and saving.

protected override Task FinalizeInfoObject(DataClassInfo infoObject, IFormFieldValueProvider fieldValueProvider, CancellationToken cancellationToken)

Parameters

infoObject DataClassInfo

Info object to be set.

fieldValueProvider IFormFieldValueProvider

Provider of form field values.

cancellationToken CancellationToken

The cancellation instruction.

Returns

Task

GetFormItems()

Prepares form items for editing object of the specified ObjectType.

protected override Task<ICollection<IFormItem>> GetFormItems()

Returns

Task<ICollection<IFormItem>>

Returns the collection of form items.