menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class FileUploadSuccessEventArgs - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class FileUploadSuccessEventArgs

    Represents the details of a FileUploadSuccess event.

    Inheritance
    System.Object
    FileUploadSuccessEventArgs
    ImageSuccessEventArgs
    Namespace: Syncfusion.Blazor.RichTextEditor
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class FileUploadSuccessEventArgs : Object
    Remarks

    This class provides information about a successful file upload, including file information and status.

    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:

    • Uploaded - The image was uploaded through the editor's interface.
    • Dropped - The image was dragged and dropped into the editor.
    • Pasted - The image was pasted into the editor from the clipboard.
    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 information about the uploaded file.

    Declaration
    public FileInfo File { get; set; }
    Property Value
    Type Description
    FileInfo

    A FileInfo object containing the uploaded file's details.

    Remarks

    The File property provides information about the successfully uploaded file.

    Operation

    Gets the operation type of the file upload event.

    Declaration
    public string Operation { get; }
    Property Value
    Type Description
    System.String

    A string indicating the upload operation type.

    Remarks

    The Operation property helps identify the type of upload process that was completed.

    Response

    Gets or sets the response details of the file upload request.

    Declaration
    public ResponseEventArgs Response { get; set; }
    Property Value
    Type Description
    ResponseEventArgs

    An instance of ResponseEventArgs containing the request response.

    Remarks

    The Response property reveals the HTTP-style response for the successful upload.

    StatusText

    Gets the status message or text for the upload.

    Declaration
    public string StatusText { get; }
    Property Value
    Type Description
    System.String

    A string describing the upload status.

    Remarks

    The StatusText property provides a summary of the status of the file upload.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved