Skip to main content

DashboardBuilder.Extensions(Action<DashboardExtensionsOptionBuilder>) Method

Provides access to the registered extensions’ settings.

Namespace: DevExpress.DashboardAspNetCore

Assembly: DevExpress.Dashboard.v24.2.AspNetCore.dll

Declaration

public DashboardBuilder Extensions(
    Action<DashboardExtensionsOptionBuilder> extensionOption
)

Parameters

Name Type Description
extensionOption Action<DashboardExtensionsOptionBuilder>

An action that provides an access to the registered extensions’ settings.

Returns

Type Description
DashboardBuilder

A reference to this instance after the operation has completed.

Remarks

The code example configures the MobileLayoutExtension‘s settings for the Web Dashboard:

 <div style="position: absolute; left:0;top:0;right:0;bottom:0;">
    @(Html.DevExpress().Dashboard("clientDashboardDesigner1")
            .Width("100%")
            .Height("100%")
            .WorkingMode(WorkingMode.Viewer)
            .Extensions (x => x.MobileLayout(y => y.MobileLayoutEnabled(MobileLayoutMode.Always)))
    )    
</div>
See Also