ASPxDashboard.MobileLayoutEnabled Property
Gets or sets a mobile layout mode for the Web Dashboard.
Namespace: DevExpress.DashboardWeb
Assembly: DevExpress.Dashboard.v25.1.Web.WebForms.dll
NuGet Package: DevExpress.Web.Dashboard
Declaration
[DefaultValue(MobileLayoutMode.Auto)]
public MobileLayoutMode MobileLayoutEnabled { get; set; }
Property Value
| 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. |
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