DashboardExtensionsOptionBuilder.DashboardExport(Action<DashboardExportOptionBuilder>) Method
In This Article
Allows you to use the DashboardExport extension.
Namespace: DevExpress.DashboardAspNetCore
Assembly: DevExpress.Dashboard.v24.2.AspNetCore.dll
NuGet Package: DevExpress.AspNetCore.Dashboard
#Declaration
public DashboardExtensionsOptionBuilder DashboardExport(
Action<DashboardExportOptionBuilder> config
)
#Parameters
Name | Type | Description |
---|---|---|
config | Action<Dashboard |
A delegate used to configure the Dashboard |
#Returns
Type | Description |
---|---|
Dashboard |
A reference to this instance after the operation has completed. |
#Remarks
The code sample below shows how to configure export options:
cshtml
@(Html.DevExpress().Dashboard("dashboardControl1")
.Width("100%")
.Height("100%")
.OnBeforeRender("onBeforeRender")
.Extensions(ext => {
ext.DashboardExport(options => {
// ...
});
})
)
See Also