TreeListToolbar
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class TreeListToolbar : JsonObject
Inheritance: objectJsonObjectTreeListToolbar
Inherited Members
Constructors
public TreeListToolbar()
Properties
The click handler of the toolbar command. Used for custom toolbar commands.
public ClientHandlerDescriptor Click { get; set; }
Specifies the icon's name that will be rendered inside the toolbar button. When you set this option, the TreeList renders an additional span element inside the toolbar button which has a name set to the option value. This approach allows you to display an icon inside your custom toolbar commands.
public string Icon { get; set; }
A class name that will be rendered inside the toolbar button. When you set this option, the TreeList renders an additional span element inside the toolbar button which has a class name set to the option value. This approach allows you to display an icon inside your custom toolbar commands.
public string ImageClass { get; set; }
The name of the toolbar command. Can be either a built-in ("create", "excel", or "pdf") or a custom string. The name is output in the HTML as a value of the data-command attribute of the button.
public string Name { get; set; }
The template which renders the command. By default renders a button. Uses the template for a ToolBar item toolbar.items.template
public string Template { get; set; }
The handler for the Template
public string TemplateHandler { get; set; }
The id for the Template
public string TemplateId { get; set; }
The text that is displayed by the command button. If not set, the TreeList will use the name` option as the button text instead.
public string Text { get; set; }
Methods
protected override void Serialize(IDictionary<string, object> json)
Overrides: