DashboardMobileLayoutOptionBuilder Class

A wrapper that provides access to MobileLayoutExtensionOptions.

Namespace: DevExpress.DashboardAspNetCore

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

Declaration

public class DashboardMobileLayoutOptionBuilder
Public Class DashboardMobileLayoutOptionBuilder

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