Skip to main content

DashboardUrlStateOptionBuilder Class

A wrapper that provides access to UrlStateExtensionOptions.

Namespace: DevExpress.DashboardAspNetCore

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

NuGet Package: DevExpress.AspNetCore.Dashboard

#Declaration

public class DashboardUrlStateOptionBuilder

The following members return DashboardUrlStateOptionBuilder objects:

#Remarks

Use the DashboardExtensionsOptionBuilder.UrlState method to call the DashboardUrlStateOptionBuilder.

The code sample below shows how to configure the Web Dashboard’s url state extension:

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

#Inheritance

Object
DashboardUrlStateOptionBuilder
See Also