Defines the fluent API for configuring EditorToolItem
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class EditorToolItemBuilder
Inheritance: objectEditorToolItemBuilder
Inherited Members
Constructors
EditorToolItemBuilder method.
Properties
Gets the settings being configured.
C#
protected EditorToolItem Container { get; }
Methods
Only applicable for the formatting tool. Specifies the context in which the option will be available.
C#
public EditorToolItemBuilder Context(string value)
The value for Context
Returns:Returns the current EditorToolItemBuilder instance.
The string that the popup item will show.
C#
public EditorToolItemBuilder Text(string value)
The value for Text
Returns:Returns the current EditorToolItemBuilder instance.
The value that will be applied by the tool when this item is selected.
C#
public EditorToolItemBuilder Value(string value)
The value for Value
Returns:Returns the current EditorToolItemBuilder instance.