New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Kendo UI ImageEditor component

Definition

Constructors

Initializes a new instance of the ImageEditor class.

C#
public ImageEditor(ViewContext viewContext)
Parameters:viewContextViewContext

Properties

Configures the width of the ImageEditor.

C#
public double? Height { get; set; }

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; }

Sets the saveAs options for the save command. Utilizes the kendo.saveAs method.

C#
public ImageEditorSaveAsSettings SaveAs { get; }

Configures the Toolbar of the ImageEditor.

C#
public ImageEditorToolbarSettings Toolbar { get; }

Configures the width of the ImageEditor.

C#
public double? Width { get; set; }

Methods

Serializes the component settings to a dictionary.

C#
public override IDictionary<string, object> Serialize()
Returns:

IDictionary<string, object>

A dictionary of settings.

Overrides: WidgetBase.Serialize()

SerializeSettings method.

C#
protected override Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>

Overrides: WidgetBase.SerializeSettings()

Writes the HTML.

C#
protected override void WriteHtml(TextWriter writer)
Parameters:writerTextWriter

Overrides: WidgetBase.WriteHtml(TextWriter)

Writes the initialization script.

C#
public override void WriteInitializationScript(TextWriter writer)
Parameters:writerTextWriter

The TextWriter.

Overrides: WidgetBase.WriteInitializationScript(TextWriter)