Back to Devexpress

TdxDashboardControlExportEvent Type

vcl-dxdashboard-dot-control-46799cfa.md

latest2.0 KB
Original Source

TdxDashboardControlExportEvent Type

The procedural type for dashboard content export events.

Declaration

delphi
TdxDashboardControlExportEvent = procedure(ASender: TdxCustomDashboardControl; var AFileName: string; var ACancel: Boolean) of object;

Parameters

NameTypeDescription
ASenderTdxCustomDashboardControl

Provides access to the dashboard control that raised the event.

Tip

Cast the ASender parameter value to the TdxDashboardControl class to access all public API members.

| | AFileName | string |

The full absolute or relative path to the dashboard content download target.

You can assign a path to the target file to this parameter.

| | ACancel | Boolean |

Specifies the status of the pending file download operation:

False Default. The pending download operation is allowed.TrueThe pending download operation is canceled. Use this option to prevent a predefined file download operation on implement a custom dashboard content download operation. |

Remarks

A dashboard download event occurs every time a user attempts to export content using the Dashboard UI (in any available format).

Direct TdxDashboardControlExportEvent Type Reference

The TdxCustomDashboardControl.OnExport event references the TdxDashboardControlExportEvent procedural type.

See Also

TdxDashboardControlNotifyEvent Procedural Type

TdxReportExportEvent Procedural Type

dxDashboard.Control Unit