Skip to main content

DashboardExtensionSettings.MobileLayoutEnabled Property

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

Namespace: DevExpress.DashboardWeb.Mvc

Assembly: DevExpress.Dashboard.v24.1.Web.Mvc5.dll

NuGet Package: DevExpress.Web.Mvc5.Dashboard

Declaration

public MobileLayoutMode MobileLayoutEnabled { get; set; }

Property Value

Type Description
MobileLayoutMode

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