Skip to main content

DashboardMobileLayoutOptionBuilder Class

A wrapper that provides access to MobileLayoutExtensionOptions.

Namespace: DevExpress.DashboardAspNetCore

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

#Declaration

public class DashboardMobileLayoutOptionBuilder

The following members return DashboardMobileLayoutOptionBuilder objects:

#Remarks

Use the DashboardExtensionsOptionBuilder.MobileLayout method to call the DashboardMobileLayoutOptionBuilder.

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

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

#Inheritance

Object
DashboardMobileLayoutOptionBuilder
See Also