DashboardViewerApiOptionBuilder Class
A wrapper that provides access to ViewerApiExtensionOptions.
Namespace: DevExpress.DashboardAspNetCore
Assembly: DevExpress.Dashboard.v24.1.AspNetCore.dll
NuGet Package: DevExpress.AspNetCore.Dashboard
Declaration
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