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

Configures the file selection used to open images in the TelerikImageEditor. Place inside the ImageEditorSettings tag.

Definition

Constructors

C#
public ImageEditorFileSelectSettings()

Properties

The file extensions that the user can open, for example ".png". Defaults to .jpg, .jpeg, .png and .webp. The supported formats shown in the empty and error states are generated from this list.

C#
[Parameter]
public List<string> AllowedExtensions { get; set; }

The maximum file size in bytes that the user can open. Defaults to 20 MB (20971520 bytes). Setting a much larger value can degrade the component performance, because the editor processes the full image in the browser.

C#
[Parameter]
public long? MaxFileSize { get; set; }

Methods

C#
protected override void OnParametersSet()

Overrides: ComponentBase.OnParametersSet()