Table of Contents

Class TaxonomyEditLayout

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

General tab of the taxonomy's edit page.

[UINavigation(false)]
public sealed class TaxonomyEditLayout : Page<TaxonomyEditLayoutClientProperties>, IPage
Inheritance
object
TaxonomyEditLayout
Implements
Inherited Members
Extension Methods

Constructors

TaxonomyEditLayout(ILocalizationService, IEventLogService, ITaxonomyManager, IInfoProvider<TagInfo>)

Initializes a new instance of TaxonomyEditLayout.

public TaxonomyEditLayout(ILocalizationService localizationService, IEventLogService eventLogService, ITaxonomyManager taxonomyManager, IInfoProvider<TagInfo> tagInfoProvider)

Parameters

localizationService ILocalizationService
eventLogService IEventLogService
taxonomyManager ITaxonomyManager
tagInfoProvider IInfoProvider<TagInfo>

Properties

TaxonomyID

Taxonomy ID.

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

Property Value

int

Methods

ConfigureTemplateProperties(TaxonomyEditLayoutClientProperties)

Gets the object representing client side template properties.

public override Task<TaxonomyEditLayoutClientProperties> ConfigureTemplateProperties(TaxonomyEditLayoutClientProperties properties)

Parameters

properties TaxonomyEditLayoutClientProperties

Initialized properties object.

Returns

Task<TaxonomyEditLayoutClientProperties>

DeleteTag(DeleteTagCommandArguments, CancellationToken)

Deletes tag.

public Task<ICommandResponse<ModifyTagCommandResult>> DeleteTag(DeleteTagCommandArguments args, CancellationToken cancellationToken = default)

Parameters

args DeleteTagCommandArguments

Delete tag command arguments.

cancellationToken CancellationToken

Cancellation instruction.

Returns

Task<ICommandResponse<ModifyTagCommandResult>>

GetDefaultRoute(IEnumerable<Route>)

Gets the route which is redirected to, when no route is selected.

protected override Route GetDefaultRoute(IEnumerable<Route> routes)

Parameters

routes IEnumerable<Route>

Returns

Route

LoadOrder(LoadOrderCommandArguments, CancellationToken)

Loads tree items of parent specified in ParentId in the correct order.

public Task<ICommandResponse<LoadOrderCommandResult>> LoadOrder(LoadOrderCommandArguments args, CancellationToken cancellationToken = default)

Parameters

args LoadOrderCommandArguments
cancellationToken CancellationToken

Returns

Task<ICommandResponse<LoadOrderCommandResult>>

MoveTag(MoveTagCommandArguments, CancellationToken)

Moves the tag to a new parent.

public Task<ICommandResponse<ModifyTagCommandResult>> MoveTag(MoveTagCommandArguments args, CancellationToken cancellationToken = default)

Parameters

args MoveTagCommandArguments

Move tag command arguments.

cancellationToken CancellationToken

Cancellation instruction.

Returns

Task<ICommandResponse<ModifyTagCommandResult>>