ImageEditor
Class
Kendo UI ImageEditor component
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class ImageEditor : WidgetBase, IWidget, IHtmlAttributesContainer, IScriptableComponent
Inheritance: objectWidgetBaseImageEditor
Implements:
Inherited Members
Constructors
Initializes a new instance of the ImageEditor class.
C#
public ImageEditor(ViewContext viewContext, IJavaScriptInitializer initializer, IUrlGenerator urlGenerator)
The view context
initializerIJavaScriptInitializerThe JavaScriptInitializer
urlGeneratorIUrlGeneratorThe URL generator.
Properties
Sets the label used for the <canvas> element to describe the image contents.
C#
public string ImageLabel { get; set; }
Sets the url (or base64 string) for the image to open.
C#
public string ImageUrl { get; set; }
Defines the text of the localizable UI parts of the FileManager.
C#
public ImageEditorMessagesSettings Messages { get; set; }
Sets the saveAs options for the save command. Utilizes the kendo.saveAs method.
C#
public ImageEditorSaveAsSettings SaveAs { get; set; }
Configures the Toolbar of the ImageEditor.
C#
public ImageEditorToolbarSettings Toolbar { get; set; }
Methods
C#
public override IDictionary<string, object> Serialize()
Overrides:
Writes the HTML.
C#
protected override void WriteHtml(HtmlTextWriter writer)
The HtmlTextWriter.
Overrides:
Writes the initialization script.
C#
public override void WriteInitializationScript(TextWriter writer)
The TextWriter.
Overrides: