EditorTool
Kendo UI EditorTool class
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class EditorTool
Inheritance: objectEditorTool
Inherited Members
Constructors
public EditorTool()
Properties
Specifies the colors columns for "foreColor" and "backColor" tools when list of colors are defined.
public double? Columns { get; set; }
The JavaScript function which will be executed when the end-user clicks the tool button.
public ClientHandlerDescriptor Exec { get; set; }
Specifies the icon that will be rendered for the tools.
public string Icon { get; set; }
For tools that display a list of items (fontName, fontSize, formatting), this option specifies the items in the shown list.
public List<EditorToolItem> Items { get; set; }
When specifying a tool as an object, a tool name is required. Please note that "undo" and "redo" are reserved tool names.
public string Name { get; set; }
Specifies the color palette for "foreColor" and "backColor" tools.
public ColorPickerPalette? Palette { get; set; }
PaletteColors member.
public IEnumerable<string> PaletteColors { get; set; }
The kendo template that will be used for rendering the given tool.
public string Template { get; set; }
The handler that returns the template used for Template
public string TemplateHandler { get; set; }
The id of the script element used for Template
public string TemplateId { get; set; }
Methods
Serialize method.
Serialize current instance to Dictionary
protected virtual Dictionary<string, object> SerializeSettings()