Skip to main content

DashboardExtensionsOptionBuilder.DataInspector(Action<DataInspectorOptionBuilder>) Method

Allows you to use the DataInspector extension.

Namespace: DevExpress.DashboardAspNetCore

Assembly: DevExpress.Dashboard.v24.2.AspNetCore.dll

Declaration

public DashboardExtensionsOptionBuilder DataInspector(
    Action<DataInspectorOptionBuilder> config
)

Parameters

Name Type Description
config Action<DataInspectorOptionBuilder>

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 Inspector options:

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