menu

Blazor

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

    Show / Hide Table of Contents

    Class FileInfo

    Provides information about the selected files' details in the SfUploader component.

    Inheritance
    System.Object
    FileInfo
    Namespace: Syncfusion.Blazor.Inputs
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class FileInfo : Object

    Constructors

    FileInfo()

    Declaration
    public FileInfo()

    Properties

    FileSource

    Gets the file path of the selected file as specified by the browser.

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

    System.String

    Id

    Gets the unique ID of the file as specified by the browser.

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

    System.String

    Input

    Returns the input element mapped with file list item.

    Declaration
    public DOM Input { get; set; }
    Property Value
    Type
    DOM

    LastModifiedDate

    Gets the last modified date of the file as specified by the browser.

    Declaration
    public DateTime LastModifiedDate { get; set; }
    Property Value
    Type Description
    System.DateTime

    System.DateTime

    List

    Returns the respective file list item.

    Declaration
    public DOM List { get; set; }
    Property Value
    Type
    DOM

    MimeContentType

    Gets the MIME type of the file as specified by the browser.

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

    System.String

    Name

    Gets the name of the file as specified by the browser.

    Declaration
    public string Name { get; set; }
    Property Value
    Type
    System.String

    RawFile

    Gets the selected file details in the SfUploader component.

    Declaration
    public object RawFile { get; set; }
    Property Value
    Type Description
    System.Object

    System.Object

    Size

    Gets the size of the file in bytes as specified by the browser.

    Declaration
    public double Size { get; set; }
    Property Value
    Type
    System.Double

    Status

    Gets the status of the file as specified by the browser.

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

    System.String

    StatusCode

    Gets the current state of the file such as Failed, Canceled, Selected, Uploaded, or Uploading.

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

    System.String

    Type

    Gets the MIME type of the file as specified by the browser; If the file's type cannot be determined, an empty string is returned.

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

    System.String

    ValidationMessages

    Gets the file size validation errors messages.

    Declaration
    public ValidationMessages ValidationMessages { get; set; }
    Property Value
    Type Description
    ValidationMessages

    ValidationMessages

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