DashboardViewerApiOptionBuilder Class

Contains methods that allow you to customize the Web Dashboard's viewer.

Namespace: DevExpress.DashboardAspNetCore

Assembly: DevExpress.Dashboard.v18.1.AspNetCore.dll

Declaration

public class DashboardViewerApiOptionBuilder :
    Object
Public Class DashboardViewerApiOptionBuilder
    Inherits Object

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