Back to Devexpress

DashboardConfigureDataConnectionEventArgs Class

dashboard-devexpress-dot-dashboardcommon-03f2a423.md

latest4.3 KB
Original Source

DashboardConfigureDataConnectionEventArgs Class

Provides data for ConfigureDataConnection events.

Namespace : DevExpress.DashboardCommon

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

NuGet Package : DevExpress.Dashboard.Core

Declaration

csharp
public class DashboardConfigureDataConnectionEventArgs :
    ConfigureDataConnectionEventArgs
vb
Public Class DashboardConfigureDataConnectionEventArgs
    Inherits ConfigureDataConnectionEventArgs

DashboardConfigureDataConnectionEventArgs is the data class for the following events:

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.

Inheritance

Object EventArgs ConfigureDataConnectionEventArgs DashboardConfigureDataConnectionEventArgs ConfigureDataConnectionWebEventArgs

See Also

DashboardConfigureDataConnectionEventArgs Members

ConfigureDataConnection

ConfigureDataConnection

ConfigureDataConnection

DevExpress.DashboardCommon Namespace