Skip to main content

DashboardMobileLayoutOptionBuilder Class

A wrapper that provides access to MobileLayoutExtensionOptions.

Namespace: DevExpress.DashboardAspNetCore

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

NuGet Package: DevExpress.AspNetCore.Dashboard

Declaration

public class DashboardMobileLayoutOptionBuilder

Remarks

Use the DashboardExtensionsOptionBuilder.MobileLayout method to call the DashboardMobileLayoutOptionBuilder.

The code sample below shows how to configure the mobile layout extension:

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

Inheritance

Object
DashboardMobileLayoutOptionBuilder
See Also