Skip to main content

DashboardConfigureDataConnectionEventArgs Class

Provides data for ConfigureDataConnection events.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v22.1.Core.dll

Declaration

public class DashboardConfigureDataConnectionEventArgs :
    ConfigureDataConnectionEventArgs

Remarks

ConfigureDataConnection events are raised before the connection to a database is established and allow you to customize connection settings.

These events are raised when the dashboard is supplied with data using the DashboardSqlDataSource and DashboardOlapDataSource data sources (see Connect to SQL Databases and Connecting to OLAP Cubes).

Use the DashboardConfigureDataConnectionEventArgs.DataSourceName property to obtain the data source name for which the event was raised. Then, specify the required connection parameters using the ConfigureDataConnectionEventArgs.ConnectionParameters property.

Note

If the dashboard is supplied with data using the DashboardObjectDataSource data source, DataLoading events are fired instead.

The following code snippets (auto-collected from DevExpress Examples) contain references to the DashboardConfigureDataConnectionEventArgs class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

Inheritance

See Also