Back to Devexpress

ClientControlContentBuilderBase<TSettings, TImpl>.ClientSideModelSettings(Action<ClientSideModelSettings>) Method

xtrareports-devexpress-dot-aspnetcore-dot-reporting-dot-clientcontrolcontentbuilderbase-2-dot-clientsidemodelsettings-x28-system-dot-action-devexpress-dot-xtrareports-dot-web-dot-clientcontrols-dot-clientsidemodelsettings-x29.md

latest2.6 KB
Original Source

ClientControlContentBuilderBase<TSettings, TImpl>.ClientSideModelSettings(Action<ClientSideModelSettings>) Method

Specifies settings for the reporting component View Model.

Namespace : DevExpress.AspNetCore.Reporting

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

NuGet Package : DevExpress.AspNetCore.Reporting

Declaration

csharp
public TImpl ClientSideModelSettings(
    Action<ClientSideModelSettings> configure
)
vb
Public Function ClientSideModelSettings(
    configure As Action(Of ClientSideModelSettings)
) As TImpl

Parameters

NameTypeDescription
configureAction<ClientSideModelSettings>

A Action<T> delegate method that allows you to specify settings for the reporting component View Model.

|

Returns

TypeDescription
TImpl

A builder instance that can be used to further configure the reporting component.

|

Remarks

The ClientSideModelSettings property allows you to pass the ClientSideModelSettings instance that specifies whether to include client resources for the control, such as localization strings, and render JSON data on a web page.

For more information on how to Localize ASP.NET Core Reporting Components, review the following help topic: Localize ASP.NET Core Reporting Components.

See Also

ClientControlContentBuilderBase<TSettings, TImpl> Class

ClientControlContentBuilderBase<TSettings, TImpl> Members

DevExpress.AspNetCore.Reporting Namespace