Back to Devexpress

DashboardMobileLayoutOptionBuilder.MobileLayoutEnabled(Nullable<MobileLayoutMode>) Method

dashboard-devexpress-dot-dashboardaspnetcore-dot-dashboardmobilelayoutoptionbuilder-dot-mobilelayoutenabled-x28-system-dot-nullable-devexpress-dot-dashboardweb-dot-mobilelayoutmode-x29.md

latest2.3 KB
Original Source

DashboardMobileLayoutOptionBuilder.MobileLayoutEnabled(Nullable<MobileLayoutMode>) Method

specifies the mobile layout mode for the Web Dashboard.

Namespace : DevExpress.DashboardAspNetCore

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

NuGet Package : DevExpress.AspNetCore.Dashboard

Declaration

csharp
public DashboardMobileLayoutOptionBuilder MobileLayoutEnabled(
    MobileLayoutMode? mode
)
vb
Public Function MobileLayoutEnabled(
    mode As MobileLayoutMode?
) As DashboardMobileLayoutOptionBuilder

Parameters

NameTypeDescription
modeNullable<MobileLayoutMode>

A MobileLayoutMode object that specifies the mobile layout mode.

|

Returns

TypeDescription
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

DashboardMobileLayoutOptionBuilder Class

DashboardMobileLayoutOptionBuilder Members

DevExpress.DashboardAspNetCore Namespace