dashboard-devexpress-dot-dashboardaspnetcore-c56db877.md
Contains methods that allow you to customize the Web Dashboard.
Namespace : DevExpress.DashboardAspNetCore
Assembly : DevExpress.Dashboard.v25.2.AspNetCore.dll
NuGet Package : DevExpress.AspNetCore.Dashboard
public class DashboardBuilder :
IHtmlContent
Public Class DashboardBuilder
Implements IHtmlContent
The following members return DashboardBuilder objects:
Show 32 links
The code below shows how to customize the Web Dashboard by calling the Dashboard method in the View. The Width(Int32), Height(Int32), and WorkingMode(WorkingMode) methods are used in this example to configure the Web Dashboard. The code snippet also shows how to handle the DashboardControl‘s events and set the initial values for the extension options.
<div style="position: absolute; left: 0; top: 0; right: 0; bottom: 0;">
@(Html.DevExpress().Dashboard("dashboardControl1")
.ControllerName("DefaultDashboard")
.Width("100%")
.Height("100%")
.OnBeforeRender("onBeforeRender")
.OnDashboardInitializing("onDashboardInitializing")
.Extensions(ext => {
ext.DataInspector(opt => {
opt.AllowInspectAggregatedData(true);
});
ext.DashboardExport(opt => {
opt.AllowExportDashboard(true);
});
});
)
</div>
Object DashboardBuilder
See Also
Create an ASP.NET Core Dashboard Application