Class FileUploadingEventArgs
Represents the information about a FileUploading event.
Namespace: Syncfusion.Blazor.RichTextEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class FileUploadingEventArgs : Object
Remarks
This class provides details on file uploading actions, including the ability to cancel the upload process.
Constructors
FileUploadingEventArgs()
Declaration
public FileUploadingEventArgs()
Properties
Cancel
Gets or sets whether the file upload action should be canceled or not.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
Use the Cancel property to prevent an upload if needed.
CurrentRequest
Gets or sets the XMLHttpRequest instance associated with the upload action.
Declaration
public object CurrentRequest { get; set; }
Property Value
Type | Description |
---|---|
System.Object | An object representing the current upload request. |
Remarks
The CurrentRequest object can be manipulated to customize upload behavior.
CustomFormData
Gets or sets additional form data to be submitted with the upload action.
Declaration
public object CustomFormData { get; set; }
Property Value
Type | Description |
---|---|
System.Object | An object representing key-value pairs of additional data. |
Remarks
Use CustomFormData for appending extra data with the upload request.
FilesData
Gets the list of files preparing for upload.
Declaration
public List<FileInfo> FilesData { get; set; }
Property Value
Type |
---|
System.Collections.Generic.List<FileInfo> |
Remarks
The FilesData property contains information on the files to be uploaded, essential for validation or customization.