Table of Contents

Class ChannelCreate

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

Channel creation page.

public sealed class ChannelCreate : CreatePage<ChannelInfo, ChannelEdit>, IPage
Inheritance
object
ChannelCreate
Implements
Inherited Members
Extension Methods

Constructors

ChannelCreate(IFormComponentMapper, IFormDataBinder, IPageLinkGenerator, IChannelManager, IEnumerable<IChannelSpecificFormItemsProcessor>)

Initializes an instance of the ChannelCreate class.

public ChannelCreate(IFormComponentMapper formComponentMapper, IFormDataBinder formDataBinder, IPageLinkGenerator pageLinkGenerator, IChannelManager channelManager, IEnumerable<IChannelSpecificFormItemsProcessor> channelSpecificFieldProcessors)

Parameters

formComponentMapper IFormComponentMapper
formDataBinder IFormDataBinder
pageLinkGenerator IPageLinkGenerator
channelManager IChannelManager
channelSpecificFieldProcessors IEnumerable<IChannelSpecificFormItemsProcessor>

Properties

RefetchAll

Indicates whether to refetch all templates on edit.

protected override bool RefetchAll { get; }

Property Value

bool

Methods

ConfigurePage()

Set up page's configuration. Configures UI page.

public override Task ConfigurePage()

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.

SetFormData(ChannelInfo, IFormFieldValueProvider)

Sets the infoObject.

protected override Task SetFormData(ChannelInfo infoObject, IFormFieldValueProvider fieldValueProvider)

Parameters

infoObject ChannelInfo

Info object to be set.

fieldValueProvider IFormFieldValueProvider

Provider of form field values.

Returns

Task