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

Kendo UI EditorTool class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class EditorTool

Inheritance: objectEditorTool

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

Constructors

C#
public EditorTool()

Properties

Specifies the colors columns for "foreColor" and "backColor" tools when list of colors are defined.

C#
public double? Columns { get; set; }

Editor member.

C#
public Editor Editor { get; set; }

The JavaScript function which will be executed when the end-user clicks the tool button.

C#
public ClientHandlerDescriptor Exec { get; set; }

Specifies the icon that will be rendered for the tools.

C#
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.

C#
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.

C#
public string Name { get; set; }

Specifies the color palette for "foreColor" and "backColor" tools.

C#
public ColorPickerPalette? Palette { get; set; }

PaletteColors member.

C#
public IEnumerable<string> PaletteColors { get; set; }

The kendo template that will be used for rendering the given tool.

C#
public string Template { get; set; }

The handler that returns the template used for Template

C#
public string TemplateHandler { get; set; }

The id of the script element used for Template

C#
public string TemplateId { get; set; }

The text which will be displayed when the end-user hovers the tool button with the mouse.

C#
public string Tooltip { get; set; }

Methods

Serialize method.

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>