Skip to main content

DashboardExtensionsOptionBuilder.DashboardExport(Action<DashboardExportOptionBuilder>) Method

Allows you to use the DashboardExport extension.

Namespace: DevExpress.DashboardAspNetCore

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

Declaration

public DashboardExtensionsOptionBuilder DashboardExport(
    Action<DashboardExportOptionBuilder> config
)

Parameters

Name Type Description
config Action<DashboardExportOptionBuilder>

A delegate used to configure the DashboardExportOptionBuilder.

Returns

Type Description
DashboardExtensionsOptionBuilder

A reference to this instance after the operation has completed.

Remarks

The code sample below shows how to configure export options:

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