Kendo.Mvc.UI.Fluent.ImageEditorBuilder
Defines the fluent API for configuring the Kendo UI ImageEditor
Methods
Width(System.Double)
Configures the width of the ImageEditor.
Parameters
value System.Double
The value for Width
Height(System.Double)
Configures the width of the ImageEditor.
Parameters
value System.Double
The value for Height
ImageUrl(System.String)
Sets the url (or base64 string) for the image to open.
Parameters
value System.String
The value for ImageUrl
SaveAs(System.Action<Kendo.Mvc.UI.Fluent.ImageEditorSaveAsSettingsBuilder>)
Sets the saveAs options for the save command. Utilizes the kendo.saveAs method.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.ImageEditorSaveAsSettingsBuilder>
The configurator for the saveas setting.
Toolbar(System.Action<Kendo.Mvc.UI.Fluent.ImageEditorToolbarSettingsBuilder>)
Configures the Toolbar of the ImageEditor
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.ImageEditorToolbarSettingsBuilder>
The configurator for the toolbar setting.
Toolbar(System.Boolean)
Configures the Toolbar of the ImageEditor
Parameters
enabled System.Boolean
Enables or disables the toolbar option.
Messages(System.Action<Kendo.Mvc.UI.Fluent.ImageEditorMessagesSettingsBuilder>)
Defines the text of the localizable UI parts of the FileManager.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.ImageEditorMessagesSettingsBuilder>
The configurator for the messages setting.
Events(System.Action<Kendo.Mvc.UI.Fluent.ImageEditorEventBuilder>)
Configures the client-side events.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.ImageEditorEventBuilder>
The client events action.
Example (ASPX)
@(Html.Kendo().ImageEditor()
.Name("ImageEditor")
.Events(events => events
.ImageLoaded("onImageLoaded")
)
)