DashboardExtensionsOptionBuilder.DataSourceWizard(Action<DataSourceWizardOptionBuilder>) Method

Allows you to use the DataSourceWizard extension.

Namespace: DevExpress.DashboardAspNetCore

Assembly: DevExpress.Dashboard.v21.1.AspNetCore.dll

Declaration

public DashboardExtensionsOptionBuilder DataSourceWizard(
    Action<DataSourceWizardOptionBuilder> config
)

Parameters

Name Type Description
config Action<DataSourceWizardOptionBuilder>

A delegate used to configure the DataSourceWizardOptionBuilder.

Returns

Type Description
DashboardExtensionsOptionBuilder

A reference to this instance after the operation has completed.

Remarks

The code sample below shows how to configure the Data Source Wizard options:

@(Html.DevExpress().Dashboard("dashboardControl1")
    .Width("100%")
    .Height("100%")
    .OnBeforeRender("onBeforeRender")
    .Extensions(ext => {
        ext.DataSourceWizard(options => {
              // ...
            });
        });
    })
)
See Also