DashboardControl.AsyncExcelDataSourceBeforeFill Event

Provides the capability to change options used to extract data from Microsoft Excel workbooks (XLS, XLSX or XLSM files) or CSV files asynchronously.

Namespace: DevExpress.DashboardWpf

Assembly: DevExpress.Dashboard.v18.1.Wpf.dll


public event ExcelDataSourceBeforeFillEventHandler AsyncExcelDataSourceBeforeFill
Public Event AsyncExcelDataSourceBeforeFill As ExcelDataSourceBeforeFillEventHandler

The event handler receives an argument of the ExcelDataSourceBeforeFillEventHandler type.

The AsyncExcelDataSourceBeforeFill event is raised for dashboards supplied with data using DashboardExcelDataSource and provides the capability to change settings related to loading the Microsoft Excel workbook (XLS, XLSX or XLSM files) or a CSV file. For instance, you can specify a new file path (ExcelDataSourceBeforeFillEventArgs.FileName) or change options used to extract data (ExcelDataSourceBeforeFillEventArgs.SourceOptions).