ImageEditorBuilder
Defines the fluent API for configuring the Kendo ImageEditor for ASP.NET MVC.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ImageEditorBuilder : WidgetBuilderBase<ImageEditor, ImageEditorBuilder>, IHtmlString
Inheritance: objectWidgetBuilderBase<ImageEditor, ImageEditorBuilder>ImageEditorBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the ImageEditor class.
Methods
Configures the client-side events.
public ImageEditorBuilder Events(Action<ImageEditorEventBuilder> configurator)
The client events action.
Returns:Configures the width of the ImageEditor.
public ImageEditorBuilder Height(double value)
The value that configures the height.
Returns:Sets the label used for the <canvas> element to describe the image contents.
public ImageEditorBuilder ImageLabel(string value)
The value that configures the imagelabel.
Returns:Sets the url (or base64 string) for the image to open.
public ImageEditorBuilder ImageUrl(string value)
The value that configures the imageurl.
Returns:Defines the text of the localizable UI parts of the FileManager.
public ImageEditorBuilder Messages(Action<ImageEditorMessagesSettingsBuilder> configurator)
The action that configures the messages.
Returns:Sets the saveAs options for the save command. Utilizes the kendo.saveAs method.
public ImageEditorBuilder SaveAs(Action<ImageEditorSaveAsSettingsBuilder> configurator)
The action that configures the saveas.
Returns:Configures the Toolbar of the ImageEditor
public ImageEditorBuilder Toolbar(Action<ImageEditorToolbarSettingsBuilder> configurator)
The action that configures the toolbar.
Returns:Configures the Toolbar of the ImageEditor
public ImageEditorBuilder Toolbar(bool enabled)
Enables or disables the toolbar option.
Returns:Configures the width of the ImageEditor.
public ImageEditorBuilder Width(double value)
The value that configures the width.
Returns: