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

Defines the fluent API for configuring the TreeListColumnCommand settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

C#
public class TreeListColumnCommandBuilder<T> where T : class

Inheritance: objectTreeListColumnCommandBuilder<T>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public TreeListColumnCommandBuilder(TreeListColumnCommand settings)
Parameters:settingsTreeListColumnCommand

Methods

The CSS class that is applied to the command button.

C#
public TreeListColumnCommandBuilder<T> ClassName(string value)
Parameters:valuestring

The value that configures the classname.

Returns:

TreeListColumnCommandBuilder<T>

The JavaScript function that is executed when the user clicks the command button. The function receives a jQuery event as an argument. The function context that is available through the this keyword will be set to the TreeList instance.

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

The value that configures the click action.

Returns:

TreeListColumnCommandBuilder<T>

The JavaScript function that is executed when the user clicks the command button. The function receives a jQuery event as an argument. The function context that is available through the this keyword will be set to the TreeList instance.

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

The value that configures the click action.

Returns:

TreeListColumnCommandBuilder<T>

The CSS class that is applied to the icon span of the command button.

C#
public TreeListColumnCommandBuilder<T> ImageClass(string value)
Parameters:valuestring

The value that configures the imageclass.

Returns:

TreeListColumnCommandBuilder<T>

The name of the command. Commands can be built-in ("edit", "createChild" and "destroy") or custom. When set to a custom value, the name is rendered as a data-command attribute. For more information, refer to the columns.command section.

C#
public TreeListColumnCommandBuilder<T> Name(string value)
Parameters:valuestring

The value that configures the name.

Returns:

TreeListColumnCommandBuilder<T>

The text that is displayed by the command button. If not set, the name option is used as the button text.

C#
public TreeListColumnCommandBuilder<T> Text(string value)
Parameters:valuestring

The value that configures the text.

Returns:

TreeListColumnCommandBuilder<T>