Back to Devexpress

DashboardExtensionSettings.MobileLayoutEnabled Property

dashboard-devexpress-dot-dashboardweb-dot-mvc-dot-dashboardextensionsettings-7b76be07.md

latest2.0 KB
Original Source

DashboardExtensionSettings.MobileLayoutEnabled Property

Gets or sets a mobile layout mode for the Web Dashboard.

Namespace : DevExpress.DashboardWeb.Mvc

Assembly : DevExpress.Dashboard.v25.2.Web.Mvc5.dll

NuGet Package : DevExpress.Web.Mvc5.Dashboard

Declaration

csharp
public MobileLayoutMode MobileLayoutEnabled { get; set; }
vb
Public Property MobileLayoutEnabled As MobileLayoutMode

Property Value

TypeDescription
MobileLayoutMode

A MobileLayoutMode object that specifies the mobile layout mode.

|

Available values:

NameDescription
Auto

A mobile layout is enabled automatically when the Web Dashboard is used on the mobile phones.

| | Always |

A mobile layout is used both for mobile phones and desktop applications.

| | Never |

A desktop layout is used both for mobile phones and desktop applications.

|

Remarks

The MobileLayoutEnabled property is in effect only when the Web Dashboard operates in the Viewer / ViewerOnly modes.

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

See Also

DashboardExtensionSettings Class

DashboardExtensionSettings Members

DevExpress.DashboardWeb.Mvc Namespace