DashboardBuilder.Extensions(Action<DashboardExtensionsOptionBuilder>) Method

Provides access to the registered extensions' settings.

Namespace: DevExpress.DashboardAspNetCore

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

Declaration

public DashboardBuilder Extensions(
    Action<DashboardExtensionsOptionBuilder> extensionOption
)
Public Function Extensions(
    extensionOption As Action(Of DashboardExtensionsOptionBuilder)
) As DashboardBuilder

Parameters

Type Name Description
Action<DashboardExtensionsOptionBuilder> extensionOption

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