Table of Contents

Class WorkspaceRowActionListingConfigurationExtensions

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

Contains workspace-based extension methods for IRowActionListingConfiguration.

public static class WorkspaceRowActionListingConfigurationExtensions
Inheritance
object
WorkspaceRowActionListingConfigurationExtensions

Methods

AddEditRowAction<TEditPage>(IRowActionListingConfiguration, int, Action<ActionConfiguration, IDataContainer>, PageParameterValues)

Creates an action configuration which redirects to the edit page specified by the TEditPage.

public static IRowActionListingConfiguration AddEditRowAction<TEditPage>(this IRowActionListingConfiguration configuration, int workspaceId, Action<ActionConfiguration, IDataContainer> actionStateEvaluator = null, PageParameterValues parameters = null)

Parameters

configuration IRowActionListingConfiguration

Configuration.

workspaceId int

Workspace ID.

actionStateEvaluator Action<ActionConfiguration, IDataContainer>

Action used for table action state evaluation per each row.

parameters PageParameterValues

Parameter values to be substituted into the URL.

Returns

IRowActionListingConfiguration

Type Parameters

TEditPage

Remarks

Action permissions are evaluated based on the workspace specified by workspaceId. This method always adds the ROW_IDENTIFIER_PLACEHOLDER as the last parameter.