Table of Contents

Class TableActionConfigurationExtensions

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

Class containing extension methods for table actions.

public static class TableActionConfigurationExtensions
Inheritance
object
TableActionConfigurationExtensions

Methods

AddDeleteAction(IList<ActionConfiguration>, string, string, Action<ActionConfiguration, IDataContainer>, string)

Adds a delete table action.

public static IList<ActionConfiguration> AddDeleteAction(this IList<ActionConfiguration> configuration, string deleteCommandName, string label = null, Action<ActionConfiguration, IDataContainer> actionStateEvaluator = null, string title = null)

Parameters

configuration IList<ActionConfiguration>

Action configuration.

deleteCommandName string

Delete command name.

label string

Command label.

actionStateEvaluator Action<ActionConfiguration, IDataContainer>

Action used for table action state evaluation per each row.

title string

Command title for tooltip.

Returns

IList<ActionConfiguration>