Class FileUploadSuccessEventArgs
Provides information about an FileUploadSuccess event being raised.
Namespace: Syncfusion.Blazor.RichTextEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class FileUploadSuccessEventArgs : Object
Constructors
FileUploadSuccessEventArgs()
Declaration
public FileUploadSuccessEventArgs()
Properties
DetectImageSource
Gets or sets the source of the image input in the Rich Text Editor. The image can be inserted by uploading, dropping, or pasting.
Declaration
public Nullable<ImageInputSource> DetectImageSource { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<ImageInputSource> | An instance of the ImageInputSource enum that specifies the origin of the image input. |
Remarks
This property indicates how the image was added to the editor. The value can be one of the following:
This property is useful for handling different scenarios or applying specific logic based on how the image was input. For example, you might apply different processing rules for uploaded images versus pasted images.File
Gets the details about upload file.
Declaration
public FileInfo File { get; set; }
Property Value
Type | Description |
---|---|
FileInfo | A FileInfo object representing the details about the uploaded file. |
Operation
Gets the file upload event operation.
Declaration
public string Operation { get; }
Property Value
Type | Description |
---|---|
System.String | Accepts the string value. |
Response
Gets or sets the file upload request response.
Declaration
public ResponseEventArgs Response { get; set; }
Property Value
Type | Description |
---|---|
ResponseEventArgs | An instance of the ResponseEventArgs class representing the response of the file upload event. |
StatusText
Gets the file upload status message or text.
Declaration
public string StatusText { get; }
Property Value
Type | Description |
---|---|
System.String | Accepts the string value. |