Skip to main content
A newer version of this page is available. .

DashboardViewerApiOptionBuilder Class

A wrapper that provides access to ViewerApiExtensionOptions.

Namespace: DevExpress.DashboardAspNetCore

Assembly: DevExpress.Dashboard.v19.1.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