WebDocumentViewerBuilder.ClientSideModelSettings(Action<ClientSideModelSettings>) Method
Provides settings for the Web Document Viewer‘s View Model.
Namespace: DevExpress.AspNetCore.Reporting.WebDocumentViewer
Assembly: DevExpress.AspNetCore.Reporting.v20.2.dll
NuGet Package: DevExpress.AspNetCore.Reporting
Declaration
public WebDocumentViewerBuilder ClientSideModelSettings(
Action<ClientSideModelSettings> configure
)
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