Class FileInfo
Defines the argument for the FileInfo.
Inheritance
System.Object
FileInfo
Namespace: Syncfusion.Blazor.Inputs
Assembly: Syncfusion.Blazor.dll
Syntax
public class FileInfo : Object
Constructors
FileInfo()
Declaration
public FileInfo()
Properties
FileSource
Returns where the file selected from, to upload.
Declaration
public string FileSource { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Id
Returns the unique upload file name ID.
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Input
Returns the input element mapped with file list item.
Declaration
public DOM Input { get; set; }
Property Value
Type | Description |
---|---|
DOM |
LastModifiedDate
Returns the last modified date of the uploading file.
Declaration
public DateTime LastModifiedDate { get; set; }
Property Value
Type | Description |
---|---|
System.DateTime |
List
Returns the respective file list item.
Declaration
public DOM List { get; set; }
Property Value
Type | Description |
---|---|
DOM |
MimeContentType
Returns the mime content type of file as a string.
Declaration
public string MimeContentType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
Returns the upload file name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RawFile
Returns the details about upload file.
Declaration
public object RawFile { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Size
Returns the size of file in bytes.
Declaration
public double Size { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Status
Returns the status of the file.
Declaration
public string Status { get; set; }
Property Value
Type | Description |
---|---|
System.String |
StatusCode
Returns 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 |
Type
Returns the MIME type of file as a string. Returns empty string if the file’s type is not determined.
Declaration
public string Type { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ValidationMessages
Returns the list of validation errors (if any).
Declaration
public ValidationMessages ValidationMessages { get; set; }
Property Value
Type | Description |
---|---|
ValidationMessages |