The requested page is not available for the requested platform. You are viewing the content for Default platform.

DashboardControl.BeforeExportDocument Event

Allows you to hide specific dashboard items when printing or exporting the entire dashboard.

Namespace: DevExpress.DashboardWpf

Assembly: DevExpress.Dashboard.v19.1.Wpf.dll

Declaration

public event BeforeExportDocumentEventHandler BeforeExportDocument
Public Event BeforeExportDocument As BeforeExportDocumentEventHandler

Event Data

The BeforeExportDocument event handler receives an argument of the BeforeExportDocumentEventArgs type. The following properties provide information specific to this event.

Property Description
ExcelExportOptions Gets options related to exporting a dashboard/dashboard item to XLSX/XLS/CSV format.
ExportAction Gets the export action performed by an end-user.
ImageExportOptions Gets export options related to exporting a dashboard/dashboard item to an image.
PdfExportOptions Gets export options related to exporting a dashboard/dashboard item to PDF format.
PrintPreviewOptions Gets options related to printing a dashboard/dashboard item using the Print Preview window.

Remarks

The BeforeExportDocument event allows you to hide specific dashboard items from the printed or exported document using the BeforeExportDocumentEventArgs.HideItem method overloads.

See Also