New to Telerik UI for Blazor? Start a free 30-day trial

Describes an image that the ImageEditor is about to open from a selected file, Data, or ImageUrl. Set IsCancelled to true to prevent opening.

Definition

Namespace:Telerik.Blazor.Components.ImageEditor

Assembly:Telerik.Blazor.dll

Syntax:

C#
public class ImageEditorOpenEventArgs : ICancellableEventArgs

Inheritance: objectImageEditorOpenEventArgs

Implements: ICancellableEventArgs

Constructors

C#
public ImageEditorOpenEventArgs()

Properties

The lowercase file extension including the dot, for example ".png". null when the file name has no extension.

C#
public string Extension { get; set; }

The name of the file, for example "photo.png". Defaults to "image" when the image comes from Data.

C#
public string FileName { get; set; }

The file size in bytes. null when the image loads from ImageUrl.

C#
public long? FileSize { get; set; }

The height of the image in pixels.

C#
public int Height { get; set; }

Prevents opening the image when set to true. The currently open image, if any, stays in the editor.

C#
public bool IsCancelled { get; set; }

Implements: ICancellableEventArgs.IsCancelled

The width of the image in pixels.

C#
public int Width { get; set; }