DashboardViewer.BeforeExport Event
OBSOLETE
The BeforeExport event is now obsolete. Use ExportFormShowing instead.
Occurs when an end-user tries to export a dashboard (dashboard item) to the required format.
Namespace: DevExpress.DashboardWin
Assembly: DevExpress.Dashboard.v24.2.Win.dll
Declaration
[Browsable(false)]
[Obsolete("The BeforeExport event is now obsolete. Use ExportFormShowing instead.")]
public event DashboardBeforeExportEventHandler BeforeExport
Event Data
The BeforeExport event's data class is DashboardBeforeExportEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
ShowExportForm | Gets or sets whether to show the export form allowing end-users to specify various export options related to the selected format. |
Remarks
For instance, the BeforeExport event is raised when an end-user clicks the Export To PDF menu item in the dashboard item’s context menu.
You can use the DashboardBeforeExportEventArgs.ShowExportForm event parameter to suppress the export form, which allows end-users to specify various export options related to the selected format.