Defines the fluent API for configuring EditorDeserializationSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class EditorDeserializationSettingsBuilder
Inheritance: objectEditorDeserializationSettingsBuilder
Inherited Members
Constructors
EditorDeserializationSettingsBuilder method.
public EditorDeserializationSettingsBuilder(EditorDeserializationSettings container)
Properties
Gets the settings being configured.
protected EditorDeserializationSettings Container { get; }
Methods
Callback that allows custom deserialization to be plugged in. The method accepts string as the only parameter and is expected to return the modified content as string as well.
public EditorDeserializationSettingsBuilder Custom(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:EditorDeserializationSettingsBuilder
Returns the current EditorDeserializationSettingsBuilder instance.
Callback that allows custom deserialization to be plugged in. The method accepts string as the only parameter and is expected to return the modified content as string as well.
public EditorDeserializationSettingsBuilder Custom(string handler)
The name of the JavaScript function that will be evaluated.
Returns:EditorDeserializationSettingsBuilder
Returns the current EditorDeserializationSettingsBuilder instance.