Skip to main content

DashboardDesigner.BeforeExport Event

OBSOLETE

The BeforeExport event is now obsolete. Use ExportFormShowing instead.

Occurs when an end-user tries to export a dashboard (dashboard item) in the required format.

Namespace: DevExpress.DashboardWin

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

NuGet Package: DevExpress.Win.Dashboard

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.

See Also