Skip to main content

DashboardMobileLayoutOptionBuilder.MobileLayoutEnabled(Nullable<MobileLayoutMode>) Method

specifies the mobile layout mode for the Web Dashboard.

Namespace: DevExpress.DashboardAspNetCore

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

NuGet Package: DevExpress.AspNetCore.Dashboard

Declaration

public DashboardMobileLayoutOptionBuilder MobileLayoutEnabled(
    MobileLayoutMode? mode
)

Parameters

Name Type Description
mode Nullable<MobileLayoutMode>

A MobileLayoutMode object that specifies the mobile layout mode.

Returns

Type Description
DashboardMobileLayoutOptionBuilder

A reference to this instance after the operation is completed.

Remarks

The MobileLayoutEnabled method has effect only when the Web Dashboard operates in the Viewer / ViewerOnly modes.

To learn more about the mobile layout, see Mobile Layout in ASP.NET Core.

See Also