Table of Contents

Class ClassCreate

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

Alternative form create page.

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

Constructors

ClassCreate(IFormComponentMapper, IFormDataBinder, IPageLinkGenerator)

Initializes a new instance of the ClassEdit class.

public ClassCreate(IFormComponentMapper formComponentMapper, IFormDataBinder formDataBinder, IPageLinkGenerator pageLinkGenerator)

Parameters

formComponentMapper IFormComponentMapper
formDataBinder IFormDataBinder
pageLinkGenerator IPageLinkGenerator

Properties

ModuleId

Module id.

[PageParameter(typeof(IntPageModelBinder), typeof(ModuleEditSection))]
public int ModuleId { get; set; }

Property Value

int

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