alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class FileUploadingEventArgs

    Represents the information about a FileUploading event.

    Inheritance
    object
    FileUploadingEventArgs
    ImageUploadingEventArgs
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.RichTextEditor
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class FileUploadingEventArgs
    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
    bool

    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
    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
    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
    List<FileInfo>
    Remarks

    The FilesData property contains information on the files to be uploaded, essential for validation or customization.

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