menu

Blazor

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

    Show / Hide Table of Contents

    Class FileUploadingEventArgs

    Represents the information about a FileUploading event.

    Inheritance
    System.Object
    FileUploadingEventArgs
    ImageUploadingEventArgs
    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

    true if the file upload should be canceled; otherwise, false.

    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.

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