Back to Devexpress

WebDocumentViewerBuilder.MobileSettings(Action<MobileViewerSettings>) Method

xtrareports-devexpress-dot-aspnetcore-dot-reporting-dot-webdocumentviewer-dot-webdocumentviewerbuilder-dot-mobilesettings-x28-action-mobileviewersettings-x29.md

latest2.8 KB
Original Source

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

NuGet Package : DevExpress.AspNetCore.Reporting

Declaration

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

Parameters

NameTypeDescription
configureAction<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

TypeDescription
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

WebDocumentViewerBuilder Class

WebDocumentViewerBuilder Members

DevExpress.AspNetCore.Reporting.WebDocumentViewer Namespace