New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Defines the fluent interface for configuring a custom action command in the Grid.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class GridCustomActionCommandBuilder<T> : GridActionCommandBuilderBase<GridCustomActionCommand, GridCustomActionCommandBuilder<T>> where T : class

Inheritance: objectGridActionCommandBuilderBase<GridCustomActionCommand, GridCustomActionCommandBuilder<T>>GridCustomActionCommandBuilder<T>

Inherited Members GridActionCommandBuilderBase<GridCustomActionCommand, GridCustomActionCommandBuilder<T>>.IconClass(string)GridActionCommandBuilderBase<GridCustomActionCommand, GridCustomActionCommandBuilder<T>>.Template(string)GridActionCommandBuilderBase<GridCustomActionCommand, GridCustomActionCommandBuilder<T>>.Template<T>(TemplateBuilder<T>)GridActionCommandBuilderBase<GridCustomActionCommand, GridCustomActionCommandBuilder<T>>.TemplateId(string)GridActionCommandBuilderBase<GridCustomActionCommand, GridCustomActionCommandBuilder<T>>.TemplateView(IHtmlContent)GridActionCommandBuilderBase<GridCustomActionCommand, GridCustomActionCommandBuilder<T>>.TemplateHandler(string)GridActionCommandBuilderBase<GridCustomActionCommand, GridCustomActionCommandBuilder<T>>.Text(string)GridActionCommandBuilderBase<GridCustomActionCommand, GridCustomActionCommandBuilder<T>>.HtmlAttributes(string)GridActionCommandBuilderBase<GridCustomActionCommand, GridCustomActionCommandBuilder<T>>.HtmlAttributes(object)GridActionCommandBuilderBase<GridCustomActionCommand, GridCustomActionCommandBuilder<T>>.HtmlAttributes(IDictionary<string, object>)GridActionCommandBuilderBase<GridCustomActionCommand, GridCustomActionCommandBuilder<T>>.Visible(Func<object, object>)GridActionCommandBuilderBase<GridCustomActionCommand, GridCustomActionCommandBuilder<T>>.Visible(string)GridActionCommandBuilderBase<GridCustomActionCommand, GridCustomActionCommandBuilder<T>>.Commandobject.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the GridCustomActionCommandBuilder<T> class.

C#
public GridCustomActionCommandBuilder(GridCustomActionCommand command)
Parameters:commandGridCustomActionCommand

The GridCustomActionCommand options

Methods

Sets the click handler of the command

C#
public GridCustomActionCommandBuilder<T> Click(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler function

Returns:

GridCustomActionCommandBuilder<T>

The current GridCustomActionCommandBuilder<T> instance for method chaining.

Sets the click handler of the command

C#
public GridCustomActionCommandBuilder<T> Click(string handler)
Parameters:handlerstring

The name of the JavaScript click handler function

Returns:

GridCustomActionCommandBuilder<T>

The current GridCustomActionCommandBuilder<T> instance for method chaining.