DashboardMobileLayoutOptionBuilder Class
In This Article
A wrapper that provides access to MobileLayoutExtensionOptions.
Namespace: DevExpress.DashboardAspNetCore
Assembly: DevExpress.Dashboard.v24.2.AspNetCore.dll
#Declaration
#Related API Members
The following members return DashboardMobileLayoutOptionBuilder objects:
#Remarks
Use the DashboardExtensionsOptionBuilder.MobileLayout method to call the DashboardMobileLayoutOptionBuilder.
The code sample below shows how to configure the mobile layout extension:
cshtml
@(Html.DevExpress().Dashboard("dashboardControl1")
.Width("100%")
.Height("100%")
.OnBeforeRender("onBeforeRender")
.Extensions(ext => {
ext.MobileLayout(options => {
// ...
});
})
)
See Also