DashboardControl.AsyncDataLoading Event

Allows you to provide data for the DashboardObjectDataSource.

Namespace: DevExpress.DashboardWpf

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

Declaration

public event DataLoadingEventHandler AsyncDataLoading
Public Event AsyncDataLoading As DataLoadingEventHandler

The event handler receives an argument of the DataLoadingEventHandler type.

The AsyncDataLoading event is raised when the dashboard needs to load data from a data source assigned using the DashboardObjectDataSource. Use the event parameter's DataLoadingEventArgs.Data property to provide data for this data source. This object should implement the IEnumerable or IListSource interface.

For other data source types (for instance, DashboardSqlDataSource or DashboardOlapDataSource), you can handle the DashboardControl.ConfigureDataConnection event to customize connection parameters.

See Also