Configures the file selection used to open images in the TelerikImageEditor. Place inside the ImageEditorSettings tag.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
C#
public class ImageEditorFileSelectSettings : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Inheritance: objectComponentBaseImageEditorFileSelectSettings
Implements:
Inherited Members
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: