Kendo UI TreeListColumnCommand class
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class TreeListColumnCommand<T> where T : class
Inheritance: objectTreeListColumnCommand<T>
Inherited Members
Constructors
public TreeListColumnCommand()
Properties
The CSS class that is applied to the command button.
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.
public ClientHandlerDescriptor Click { 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.
public TreeListColumnCommandIconSettings<T> IconSettings { get; }
The CSS class that is applied to the icon span of the command button.
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.
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.
public string Text { get; set; }
Methods
Serializes the current instance to a Dictionary.
Serialize current instance to Dictionary
protected virtual Dictionary<string, object> SerializeSettings()