DashboardBuilder Class
Contains methods that allow you to customize the Web Dashboard.
Namespace: DevExpress.DashboardAspNetCore
Assembly: DevExpress.Dashboard.v24.2.AspNetCore.dll
Declaration
Remarks
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>
Inheritance
Object
DashboardBuilder
See Also