Table of Contents

Class RowActionListingConfigurationExtensions

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

Contains extension methods for IRowActionListingConfiguration

public static class RowActionListingConfigurationExtensions
Inheritance
object
RowActionListingConfigurationExtensions

Methods

AddCommandRowAction(IRowActionListingConfiguration, string)

Creates an action configuration invoking a custom command.

public static IRowActionListingConfiguration AddCommandRowAction(this IRowActionListingConfiguration configuration, string commandName)

Parameters

configuration IRowActionListingConfiguration

Configuration.

commandName string

Command name

Returns

IRowActionListingConfiguration

Updated configuration.

AddEditRowAction<TEditPage>(IRowActionListingConfiguration, 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, Action<ActionConfiguration, IDataContainer> actionStateEvaluator = null, PageParameterValues parameters = null)

Parameters

configuration IRowActionListingConfiguration

Configuration.

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

This method always adds the ROW_IDENTIFIER_PLACEHOLDER as the last parameter.

AddEditRowAction<TEditPage>(IRowActionListingConfiguration, Action<ActionConfiguration, IDataContainer>, params string[])

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

[Obsolete("Use AddEditRowAction with PageParameterValues instead.")]
[ObsoleteSince(29, 5)]
public static IRowActionListingConfiguration AddEditRowAction<TEditPage>(this IRowActionListingConfiguration configuration, Action<ActionConfiguration, IDataContainer> actionStateEvaluator = null, params string[] parameters)

Parameters

configuration IRowActionListingConfiguration

Configuration.

actionStateEvaluator Action<ActionConfiguration, IDataContainer>

Action used for table action state evaluation per each row.

parameters string[]

Parameter values to be substituted into the URL. Provide the parameters in the same order as they would appear in the URL.

Returns

IRowActionListingConfiguration

Type Parameters

TEditPage

Remarks

This method always adds the ROW_IDENTIFIER_PLACEHOLDER as the last parameter.