Skip to main content

WebDocumentViewerBuilder.MobileSettings(Action<MobileViewerSettings>) Method

Provides access to the Web Document Viewer settings that are specific for mobile mode.

Namespace: DevExpress.AspNetCore.Reporting.WebDocumentViewer

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

NuGet Package: DevExpress.AspNetCore.Reporting

Declaration

public WebDocumentViewerBuilder MobileSettings(
    Action<MobileViewerSettings> configure
)

Parameters

Name Type Description
configure Action<MobileViewerSettings>

A Action<T> delegate method that allows you to specify mobile mode settings that are exposed by the MobileViewerSettings object, which is passed as the delegate parameter.

Returns

Type Description
WebDocumentViewerBuilder

A WebDocumentViewerBuilder that can be used to further configure the Document Viewer.

Remarks

To enable mobile mode for the Web Document Viewer, use the MobileMode(Boolean) method.

See Also