Back to Devexpress

DashboardViewerApiOptionBuilder Class

dashboard-devexpress-dot-dashboardaspnetcore-008eefbe.md

latest4.3 KB
Original Source

DashboardViewerApiOptionBuilder Class

A wrapper that provides access to ViewerApiExtensionOptions.

Namespace : DevExpress.DashboardAspNetCore

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

NuGet Package : DevExpress.AspNetCore.Dashboard

Declaration

csharp
public class DashboardViewerApiOptionBuilder
vb
Public Class DashboardViewerApiOptionBuilder

The following members return DashboardViewerApiOptionBuilder objects:

Show 14 links

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:

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

Inheritance

Object DashboardViewerApiOptionBuilder

See Also

DashboardViewerApiOptionBuilder Members

DevExpress.DashboardAspNetCore Namespace