Table of Contents

Class TaxonomyEdit

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

Page for editing a taxonomy.

[UINavigation(false)]
[UIBreadcrumbs(false)]
public sealed class TaxonomyEdit : InfoEditPage<TaxonomyInfo>, IPage
Inheritance
object
TaxonomyEdit
Implements
Inherited Members
Extension Methods

Constructors

TaxonomyEdit(IFormComponentMapper, IFormDataBinder, IContentLanguageRetriever)

Initializes an instance of the TaxonomyEdit class.

public TaxonomyEdit(IFormComponentMapper formComponentMapper, IFormDataBinder formDataBinder, IContentLanguageRetriever contentLanguageRetriever)

Parameters

formComponentMapper IFormComponentMapper
formDataBinder IFormDataBinder
contentLanguageRetriever IContentLanguageRetriever

Properties

ObjectId

ID of the object.

[PageParameter(typeof(IntPageModelBinder), typeof(TaxonomyEditSection))]
public override int ObjectId { get; set; }

Property Value

int

Methods

FinalizeInfoObject(TaxonomyInfo, IFormFieldValueProvider, CancellationToken)

Allows to modify values of infoObject before validation and saving.

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

Parameters

infoObject TaxonomyInfo

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.