Defines the fluent API for configuring List<EditorToolItem>
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class EditorToolItemFactory
Inheritance: objectEditorToolItemFactory
Inherited Members
Constructors
EditorToolItemFactory method.
C#
public EditorToolItemFactory(List<EditorToolItem> container)
Properties
Gets or sets the Container.
C#
protected List<EditorToolItem> Container { get; }
Methods
Adds an item to the collection
C#
public virtual EditorToolItemBuilder Add()
Returns a EditorToolItemBuilder with the available configuration options.
Modifies the default options of the Editor tools.
C#
public EditorToolItemFactory Add(string text, string value)
The string that the item will show.
valuestringThe value that will be applied by the tool when this item is selected.
Returns:Returns the current EditorToolItemFactory instance.