The requested page is not available for the requested platform. You are viewing the content for Default platform.

WebDocumentViewerBuilder.ClientSideModelSettings(Action<ClientSideModelSettings>) Method

Provides settings for the Web Document Viewer's View Model.

Namespace: DevExpress.AspNetCore.Reporting.WebDocumentViewer

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

Declaration

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

Parameters

Name Type Description
configure Action<ClientSideModelSettings>

A Action<T> delegate method that allows you to specify settings for the Web Document Viewer's View Model.

Returns

Type Description
WebDocumentViewerBuilder

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

Remarks

In the delegate method, specify the settings exposed by the ClientSideModelSettings object that is passed as a parameter. These settings allow you to disable rendering of the JSON data provided by extra client resources such as localization or CLDR JSON data.

See Also