All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

IDashboardControl.CustomExport Event

Allows you to customize the exported document.

Namespace: DevExpress.DashboardWin

Assembly: DevExpress.Dashboard.v20.1.Win.dll

Declaration

event CustomExportEventHandler CustomExport
Event CustomExport As CustomExportEventHandler

Event Data

The CustomExport event's data class is CustomExportEventArgs. The following properties provide information specific to this event:

Property Description
ExportAction Gets the export action performed by an end-user. Inherited from CustomExportBaseEventArgs.
ExportMode Gets the document export mode. Inherited from CustomExportBaseEventArgs.
ImageExportOptions Gets export options related to exporting a dashboard/dashboard item to an image. Inherited from CustomExportBaseEventArgs.
ImageOptions Obsolete. Gets export options related to exporting a dashboard/dashboard item to an image. Inherited from CustomExportBaseEventArgs.
ItemComponentName Gets the component name of the exported dashboard item. Inherited from CustomExportBaseEventArgs.
PdfExportOptions Gets export options related to exporting a dashboard/dashboard item to PDF format. Inherited from CustomExportBaseEventArgs.
PdfOptions Obsolete. Gets export options related to exporting a dashboard/dashboard item to PDF format. Inherited from CustomExportBaseEventArgs.
PrintableComponents Obsolete. Provides access to a dictionary containing dashboard item names and related PrintableComponents. For internal use.
PrintPreviewOptions Gets options related to printing a dashboard/dashboard item using the Print Preview window. Inherited from CustomExportBaseEventArgs.
Report Gets the underlying report of the exported document.

The event data class exposes the following methods:

Method Description
GetChartContext(String) Returns chart context for the specified Chart dashboard item.
GetGaugeContext(String) Returns gauge export context for the specified Gauge dashboard item.
GetPrintableControl(String) Gets a printable control corresponding to the specified dashboard item.
GetPrintableControls() Gets printable controls corresponding to the exported dashboard items.
See Also