ClassPdfViewerDownloadEventArgs
Provides data for the PDF Viewer download event, including filename customization and cancellation capability. Use this to modify download behavior, customize file names, or implement download restrictions.
Definition
Namespace:Telerik.Blazor.Components
Assembly:Telerik.Blazor.dll
Syntax:
public class PdfViewerDownloadEventArgs : ICancellableEventArgs
Inheritance: objectPdfViewerDownloadEventArgs
Implements:
Constructors
PdfViewerDownloadEventArgs()
Declaration
public PdfViewerDownloadEventArgs()
Properties
FileName
Gets or sets the filename used when downloading the PDF document. Customize this to provide meaningful file names based on document content, user context, or timestamp. Should include the .pdf extension for proper file type recognition. Default is "Document" which will result in "Document.pdf" when downloaded.
IsCancelled
Gets or sets whether the download operation should be cancelled. Set to true to prevent the file download, useful for implementing download restrictions, user permissions, or custom download workflows. When cancelled, the browser will not initiate the download process.