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

Defines the fluent API for configuring EditorImmutablesSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class EditorImmutablesSettingsBuilder

Inheritance: objectEditorImmutablesSettingsBuilder

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

Constructors

EditorImmutablesSettingsBuilder method.

C#
public EditorImmutablesSettingsBuilder(EditorImmutablesSettings container)
Parameters:containerEditorImmutablesSettings

Properties

Gets the settings being configured.

C#
protected EditorImmutablesSettings Container { get; }

Methods

Callback that allows custom deserialization of an immutable element. The callback accepts two arguments. The DOM element representing the immutable element in the html view and the immutable DOM element, which will be restored.

C#
public EditorImmutablesSettingsBuilder Deserialization(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

EditorImmutablesSettingsBuilder

Returns the current EditorImmutablesSettingsBuilder instance.

Callback that allows custom deserialization of an immutable element. The callback accepts two arguments. The DOM element representing the immutable element in the html view and the immutable DOM element, which will be restored.

C#
public EditorImmutablesSettingsBuilder Deserialization(string handler)
Parameters:handlerstring

The name of the JavaScript function that will be evaluated.

Returns:

EditorImmutablesSettingsBuilder

Returns the current EditorImmutablesSettingsBuilder instance.

Kendo template or a callback that allows custom serialization of an immutable element. The callback accepts DOM element as only parameter and is expected to return the HTML source of a DOM element.

C#
public EditorImmutablesSettingsBuilder Serialization(string value)
Parameters:valuestring

The value for Serialization

Returns:

EditorImmutablesSettingsBuilder

Returns the current EditorImmutablesSettingsBuilder instance.

Kendo template or a callback that allows custom serialization of an immutable element. The callback accepts DOM element as only parameter and is expected to return the HTML source of a DOM element.

C#
public EditorImmutablesSettingsBuilder SerializationHandler(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

EditorImmutablesSettingsBuilder

Returns the current EditorImmutablesSettingsBuilder instance.

Kendo template or a callback that allows custom serialization of an immutable element. The callback accepts DOM element as only parameter and is expected to return the HTML source of a DOM element.

C#
public EditorImmutablesSettingsBuilder SerializationHandler(string handler)
Parameters:handlerstring

The name of the JavaScript function that will be evaluated.

Returns:

EditorImmutablesSettingsBuilder

Returns the current EditorImmutablesSettingsBuilder instance.