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

Kendo UI TreeListColumnCommand class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

T

Syntax:

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

Inheritance: objectTreeListColumnCommand<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 TreeListColumnCommand()

Properties

The CSS class that is applied to the command button.

C#
public string ClassName { get; set; }

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 ClientHandlerDescriptor Click { get; set; }
C#
public string Icon { get; set; }

Specifies the icon's name of the command button.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.

C#
public TreeListColumnCommandIconSettings<T> IconSettings { get; }

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

C#
public string ImageClass { get; set; }

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 string Name { get; set; }

The text that is displayed by the command button. If not set, the name option is used as the button text. To have an icon button with no text, you can set the text property to an empty string.

C#
public string Text { get; set; }

TreeList member.

C#
public TreeList<T> TreeList { get; set; }

Methods

Serializes the current instance to a Dictionary.

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>