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.v18.1.dll

Syntax

public WebDocumentViewerBuilder MobileSettings(
    Action<MobileViewerSettings> configure
)

Parameters

Type Name Description
System.Action<MobileViewerSettings> configure

A <xref:System.Action`1> 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.

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