Back to Devexpress

DashboardMobileLayoutOptionBuilder Class

dashboard-devexpress-dot-dashboardaspnetcore-7ec8066d.md

latest2.1 KB
Original Source

DashboardMobileLayoutOptionBuilder Class

A wrapper that provides access to MobileLayoutExtensionOptions.

Namespace : DevExpress.DashboardAspNetCore

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

NuGet Package : DevExpress.AspNetCore.Dashboard

Declaration

csharp
public class DashboardMobileLayoutOptionBuilder
vb
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

DashboardMobileLayoutOptionBuilder Members

DevExpress.DashboardAspNetCore Namespace