dashboard-devexpress-dot-dashboardweb-dot-aspxdashboard-7a17ab12.md
Gets or sets a mobile layout mode for the Web Dashboard.
Namespace : DevExpress.DashboardWeb
Assembly : DevExpress.Dashboard.v25.2.Web.WebForms.dll
NuGet Package : DevExpress.Web.Dashboard
[DefaultValue(MobileLayoutMode.Auto)]
public MobileLayoutMode MobileLayoutEnabled { get; set; }
<DefaultValue(MobileLayoutMode.Auto)>
Public Property MobileLayoutEnabled As MobileLayoutMode
| Type | Default | Description |
|---|---|---|
| MobileLayoutMode | Auto |
A MobileLayoutMode object that specifies the mobile layout mode.
|
Available values:
| Name | Description |
|---|---|
| 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.
|
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