Defines the fluent API for configuring EditorImmutablesSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class EditorImmutablesSettingsBuilder
Inheritance: objectEditorImmutablesSettingsBuilder
Inherited Members
Constructors
EditorImmutablesSettingsBuilder method.
public EditorImmutablesSettingsBuilder(EditorImmutablesSettings container)
Properties
Gets the settings being configured.
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.
public EditorImmutablesSettingsBuilder Deserialization(Func<object, object> handler)
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.
public EditorImmutablesSettingsBuilder Deserialization(string handler)
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.
public EditorImmutablesSettingsBuilder Serialization(string value)
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.
public EditorImmutablesSettingsBuilder SerializationHandler(Func<object, object> handler)
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.
public EditorImmutablesSettingsBuilder SerializationHandler(string handler)
The name of the JavaScript function that will be evaluated.
Returns:EditorImmutablesSettingsBuilder
Returns the current EditorImmutablesSettingsBuilder instance.