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.2.dll

Declaration

public WebDocumentViewerBuilder MobileSettings(
    Action<MobileViewerSettings> configure
)
Public Function MobileSettings(
    configure As Action(Of MobileViewerSettings)
) As WebDocumentViewerBuilder

Parameters

Type Name Description
Action<MobileViewerSettings> configure

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.

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

See Also