Back to Devexpress

ASPxDashboard.MobileLayoutEnabled Property

dashboard-devexpress-dot-dashboardweb-dot-aspxdashboard-7a17ab12.md

latest1.9 KB
Original Source

ASPxDashboard.MobileLayoutEnabled Property

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

Declaration

csharp
[DefaultValue(MobileLayoutMode.Auto)]
public MobileLayoutMode MobileLayoutEnabled { get; set; }
vb
<DefaultValue(MobileLayoutMode.Auto)>
Public Property MobileLayoutEnabled As MobileLayoutMode

Property Value

TypeDefaultDescription
MobileLayoutModeAuto

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

ASPxDashboard Class

ASPxDashboard Members

DevExpress.DashboardWeb Namespace