Class
FileManagerDownloadEventArgs

The event arguments for the OnDownload event.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

cs-api-definition
public class FileManagerDownloadEventArgs : FileManagerCancelableEventArgs

Inheritance: objectEventArgsFileManagerEventArgsBaseFileManagerCancelableEventArgsFileManagerDownloadEventArgs

Inherited Members EventArgs.Empty

Constructors

FileManagerDownloadEventArgs()

Declaration

cs-api-definition
public FileManagerDownloadEventArgs()

FileManagerDownloadEventArgs(object)

Declaration

cs-api-definition
public FileManagerDownloadEventArgs(object item)

Parameters

item

object

Properties

FileName

Allows overriding the original file name for download.

Declaration

cs-api-definition
public string FileName { get; set; }

Property Value

string

Item

The item that is downloaded.

Declaration

cs-api-definition
public object Item { get; set; }

Property Value

object

MimeType

The mime type of the content.

Declaration

cs-api-definition
public string MimeType { get; set; }

Property Value

string

Stream

The output as a stream.

Declaration

cs-api-definition
public MemoryStream Stream { get; set; }

Property Value

MemoryStream