Table of Contents

Class TagEdit

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

Page for editing a tag.

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

Constructors

TagEdit(IFormComponentMapper, IFormDataBinder)

Initializes an instance of the TagEdit class.

public TagEdit(IFormComponentMapper formComponentMapper, IFormDataBinder formDataBinder)

Parameters

formComponentMapper IFormComponentMapper
formDataBinder IFormDataBinder

Properties

ObjectId

ID of the object.

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

Property Value

int

TaxonomyID

Taxonomy ID.

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

Property Value

int

Methods

FinalizeInfoObject(TagInfo, IFormFieldValueProvider, CancellationToken)

Allows to modify values of infoObject before validation and saving.

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

Parameters

infoObject TagInfo

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.

ValidatePage()

Validates the page state prior invocation of the ConfigurePage() method.

public override Task<PageValidationResult> ValidatePage()

Returns

Task<PageValidationResult>