UploadRejectedEventArgs Class

Describes files rejected during a file selection and the limits used for that selection.

Inheritance

Object

UploadRejectedEventArgs

Namespace: Radzen

Assembly: Radzen.Blazor.dll

Syntax

public class UploadRejectedEventArgs

Constructors

UploadRejectedEventArgsLink to this section

Describes files rejected during a file selection and the limits used for that selection.

Declaration
public UploadRejectedEventArgs()

Properties

AllowedExtensionsLink to this section

Gets or sets the allowed filename suffixes used for the selection.

Declaration
public IEnumerable<string> AllowedExtensions { get; set; }
Property Value
Type Description
IEnumerable<string>Gets or sets the allowed filename suffixes used for the selection.

FilesLink to this section

Gets or sets the rejected files.

Declaration
public IEnumerable<UploadRejectedFile> Files { get; set; }
Property Value
Type Description
IEnumerable<UploadRejectedFile>Gets or sets the rejected files.

MaxFileSizeLink to this section

Gets or sets the maximum allowed size in bytes, or null if unrestricted.

Declaration
public long? MaxFileSize { get; set; }
Property Value
Type Description
long?Gets or sets the maximum allowed size in bytes, or null if unrestricted.
An error has occurred. This app may no longer respond until reloaded. Reload 🗙