EditorEventBuilder
Defines the fluent API for configuring the Kendo UI Editor for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class EditorEventBuilder : EventBuilder
Inheritance: objectEventBuilderEditorEventBuilder
Inherited Members
Constructors
Initializes a new instance of the EditorEventBuilder class.
public EditorEventBuilder(IDictionary<string, object> events)
The Editor event handlers.
Methods
Defines the handler of the Change client-side event. Fires when Editor is blurred and its content has changed.
public EditorEventBuilder Change(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of EditorEventBuilder .
Defines the handler of the Change client-side event. Fires when Editor is blurred and its content has changed.
public EditorEventBuilder Change(string handler)
The name of the JavaScript function that will handle the Change event.
Returns:Returns the current instance of EditorEventBuilder .
Defines the handler of the Execute client-side event. Fires when an Editor command is executed.
public EditorEventBuilder Execute(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of EditorEventBuilder .
Defines the handler of the Execute client-side event. Fires when an Editor command is executed.
public EditorEventBuilder Execute(string handler)
The name of the JavaScript function that will handle the Execute event.
Returns:Returns the current instance of EditorEventBuilder .
Defines the handler of the Keydown client-side event. Fires when the user depresses a keyboard key. Triggered multiple times if the user holds the key down.
public EditorEventBuilder Keydown(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of EditorEventBuilder .
Defines the handler of the Keydown client-side event. Fires when the user depresses a keyboard key. Triggered multiple times if the user holds the key down.
public EditorEventBuilder Keydown(string handler)
The name of the JavaScript function that will handle the Keydown event.
Returns:Returns the current instance of EditorEventBuilder .
Defines the handler of the Keyup client-side event. Fires when the user releases a keyboard key.
public EditorEventBuilder Keyup(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of EditorEventBuilder .
Defines the handler of the Keyup client-side event. Fires when the user releases a keyboard key.
public EditorEventBuilder Keyup(string handler)
The name of the JavaScript function that will handle the Keyup event.
Returns:Returns the current instance of EditorEventBuilder .
Defines the handler of the Paste client-side event. Fires before the content is pasted in the Editor.
public EditorEventBuilder Paste(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of EditorEventBuilder .
Defines the handler of the Paste client-side event. Fires before the content is pasted in the Editor.
public EditorEventBuilder Paste(string handler)
The name of the JavaScript function that will handle the Paste event.
Returns:Returns the current instance of EditorEventBuilder .
Defines the handler of the PdfExport client-side event. Fired when the user clicks the "Export to PDF" toolbar button.
public EditorEventBuilder PdfExport(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of EditorEventBuilder .
Defines the handler of the PdfExport client-side event. Fired when the user clicks the "Export to PDF" toolbar button.
public EditorEventBuilder PdfExport(string handler)
The name of the JavaScript function that will handle the PdfExport event.
Returns:Returns the current instance of EditorEventBuilder .
Defines the handler of the Select client-side event. Fires when the Editor selection has changed.
public EditorEventBuilder Select(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of EditorEventBuilder .
Defines the handler of the Select client-side event. Fires when the Editor selection has changed.
public EditorEventBuilder Select(string handler)
The name of the JavaScript function that will handle the Select event.
Returns:Returns the current instance of EditorEventBuilder .