Skip to main content

DashboardViewerApiOptionBuilder Class

A wrapper that provides access to ViewerApiExtensionOptions.

Namespace: DevExpress.DashboardAspNetCore

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

Declaration

public class DashboardViewerApiOptionBuilder

Remarks

Use the DashboardExtensionsOptionBuilder.ViewerApi method to call the DashboardViewerApiOptionBuilder.

The code sample below shows how to configure the Web Dashboard’s viewer api extension:

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

Inheritance

Object
DashboardViewerApiOptionBuilder
See Also