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

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 object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

EditorToolItemBuilder method.

C#
public EditorToolItemBuilder(EditorToolItem container)
Parameters:containerEditorToolItem

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)
Parameters:valuestring

The value for Context

Returns:

EditorToolItemBuilder

Returns the current EditorToolItemBuilder instance.

The string that the popup item will show.

C#
public EditorToolItemBuilder Text(string value)
Parameters:valuestring

The value for Text

Returns:

EditorToolItemBuilder

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)
Parameters:valuestring

The value for Value

Returns:

EditorToolItemBuilder

Returns the current EditorToolItemBuilder instance.