Skip to main content

DashboardControl.ExportDashboardItemToExcel(String, String, DashboardExcelExportOptions) Method

SECURITY-RELATED CONSIDERATIONS

Using file paths sourced from untrusted input may expose unauthorized files or allow unintended file access. Always validate and normalize all external paths to prevent path manipulation.

Exports the dashboard item to the specified file in Excel format using specified export options.

Namespace: DevExpress.DashboardWpf

Assembly: DevExpress.Dashboard.v25.2.Wpf.dll

NuGet Package: DevExpress.Wpf.Dashboard

Declaration

public void ExportDashboardItemToExcel(
    string dashboardItemName,
    string filePath,
    DashboardExcelExportOptions options
)

Parameters

Name Type Description
dashboardItemName String

A String that is the component name of the dashboard item to be exported.

filePath String

A String that specifies the path to the Excel file.

options DashboardExcelExportOptions

A DashboardExcelExportOptions object which specifies the Excel export options to be applied when the dashboard item is exported.

See Also