EditorToolBuilder
Defines the fluent API for configuring EditorTool
Methods
Palette(System.Collections.Generic.IEnumerable)
Parameters
colors - System.Collections.Generic.IEnumerable<String>
Palette(Kendo.Mvc.UI.ColorPickerPalette)
Parameters
palette - ColorPickerPalette
ToolTip(System.String)
Parameters
value - System.String
Name(System.String)
When specifying a tool as an object, a tool name is required. Please note that "undo" and "redo" are reserved tool names.
Parameters
value - System.String
The value for Name
Tooltip(System.String)
The text which will be displayed when the end-user hovers the tool button with the mouse.
Parameters
value - System.String
The value for Tooltip
Exec(System.String)
The JavaScript function which will be executed when the end-user clicks the tool button.
Parameters
handler - System.String
The name of the JavaScript function that will be evaluated.
Exec(System.Func)
The JavaScript function which will be executed when the end-user clicks the tool button.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
Items(System.Action)
For tools that display a list of items (fontName, fontSize, formatting), this option specifies the items in the shown list.
Parameters
configurator - System.Action<EditorToolItemFactory>
The configurator for the items setting.
Columns(System.Int32)
Specifies the colors columns for "foreColor" and "backColor" tools when list of colors are defined.
Parameters
value - System.Int32
The value for Columns
Template(System.String)
The kendo template that will be used for rendering the given tool.
Parameters
value - System.String
The value for Template
TemplateId(System.String)
The kendo template that will be used for rendering the given tool.
Parameters
templateId - System.String
The ID of the template element for Template