Back to Devexpress

DxMobileLayout Class

dashboard-devexpress-dot-dashboardblazor-af5ef554.md

latest1.6 KB
Original Source

DxMobileLayout Class

Contains settings that allow you to enable a mobile layout for phones.

Namespace : DevExpress.DashboardBlazor

Assembly : DevExpress.Dashboard.v25.2.Blazor.dll

NuGet Package : DevExpress.Blazor.Dashboard

Declaration

csharp
public class DxMobileLayout :
    DxSettingsComponent
vb
Public Class DxMobileLayout
    Inherits DxSettingsComponent

Remarks

You can use a mobile layout to display your dashboards on mobile phones. The Web Dashboard supports a mobile layout when operates in Viewer and ViewerOnly modes.

razor
<DxDashboard style="height: 800px;" Endpoint="api/dashboard">
    <DxExtensions>
        <DxMobileLayout MobileLayoutEnabled="@MobileLayoutMode.Always">
        </DxMobileLayout>
    </DxExtensions>
</DxDashboard>

Inheritance

Object ComponentBase DevExpress.DashboardBlazor.Native.DxSettingsComponent DxMobileLayout

See Also

DxMobileLayout Members

DevExpress.DashboardBlazor Namespace